in reply to running .profile
A non-Perl solution would be to source the .profile in the crontab entry before running the script.
0 12 * * * . /home/dave/.profile;/path/to/script.pl
Update: Changed source to .. cron always uses the Bourne shell :(
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: running .profile
by mouse (Novice) on May 02, 2001 at 16:33 UTC | |
by kschwab (Vicar) on May 02, 2001 at 16:37 UTC | |
by mouse (Novice) on May 02, 2001 at 17:02 UTC |