Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'CRON not running - help!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
CRON not running - help!
Authored by: pooduck on Jun 06, '02 01:54:03PM

Using CronniX, I created a crontab for my user account. The crontab reads as follows:
35 12 * * * perl ftp_update.pl

ftp_update.pl is a perl script that posts an html file to an ftp server. The crontab executes correctly using the "Run Now" function in Cronnix - but fails to run (no fail msg - nothing happens) at the designated time. I've also tried time settings of * * * * * which, as I understand it, should run the perl script every minute continuously. Replacing "perl ftp_update.pl" with "./ftp_update.pl" didn't help.

Is there anything I need to activate or install via Terminal to get this to work? I'm running OS X 10.1.5 with Dev Tools installed.



[ Reply to This | # ]
CRON not running - help!
Authored by: Erik Toh on Jul 03, '02 05:34:41AM

Try entering the full path of the shell script or command.



[ Reply to This | # ]
CRON not running - help!
Authored by: llamakc on Oct 21, '02 11:59:21PM

writing a wrapper for your perl script is also an elegant way. plus you should be redirecting STDERR. make it look like this:

* * * * * /path/to/perl /path/to/script.pl 2>&1

that will do it. be sure to plug in your times though.



[ Reply to This | # ]