P is for Practical | |
PerlMonks |
Re: Unix environment variables for exec processby GhodMode (Pilgrim) |
on Mar 13, 2008 at 16:46 UTC ( [id://674008]=note: print w/replies, xml ) | Need Help?? |
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, -- -- GhodmodeBlessed is he who has found his work; let him ask no other blessedness. -- Thomas Carlyle
In Section
Seekers of Perl Wisdom
|
|