Closed GoogleCodeExporter closed 9 years ago
Environment is usually different when you run under cron. Specify the path in
the cron line itself, for example:
15 13 24 * * PATH=/usr/local/bin /Users/MyUserName/get_flash_videos
http://www.tou.tv/krach/S2011E01 >> /Users/MyUserName/logs/cron_FGV.log
If you get errors about "env", specify the full path to perl on your system in
the cron job too, for example:
15 13 24 * * PATH=/usr/local/bin /usr/bin/perl
/Users/MyUserName/get_flash_videos http://www.tou.tv/krach/S2011E01 >>
/Users/MyUserName/logs/cron_FGV.log
Original comment by zakflash...@gmail.com
on 8 Feb 2011 at 9:19
second is the good one
Thx a lot for the advice!
Original comment by jcden...@gmail.com
on 9 Feb 2011 at 10:17
Original issue reported on code.google.com by
jcden...@gmail.com
on 24 Jan 2011 at 7:31