Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Unix environment variables for exec process

by GhodMode (Pilgrim)
on Mar 13, 2008 at 16:46 UTC ( [id://674008]=note: print w/replies, xml ) Need Help??


in reply to Unix environment variables for exec process

I think I found the problem. I probably should have read Loading Environment Variables from a File more carefully, too.

When I started to write the shell script that would set up the environment and run the command, I realized that I needed to source the environment set-up script, not just run it.

I put source in front of my environment script and now it's running from cron and seems to be working ok.

Thank you,

--
-- Ghodmode
Blessed is he who has found his work; let him ask no other blessedness.
-- Thomas Carlyle

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://674008]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-03-28 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found