MegaHosters
06-24-2005, 03:53 AM
Hi everyone... I just installed a script for a customer and I can not get the cron job to run. I know cron on the server is working just fine so it is not a problem with cron.
I think it is a problem with the commands I am using. Below are two pairs of commands I have in crontab but for some reason it is not running the two scripts at the specified times... in fact it is not running them at all.
Can anyone suggest why?
---------- METHOD 1 THAT I TRIED ------------
@hourly GET http://www.XXXX.com/cgi-bin/arp3/arp3-auto.pl
@daily GET http://www.XXXX.com/cgi-bin/arp3/arp3-report.pl
---------- METHOD 2 THAT I TRIED ------------
@hourly /home/www/www.XXXX.com/cgi-bin/arp3/arp3-auto.pl > /dev/null 2>&1
@daily /home/www/www.XXXX.com/cgi-bin/arp3/arp3-report.pl > /dev/null 2>&1
---------------------------
Neither of the above worked....
Suggestions?
Thanks in advance,
C
I think it is a problem with the commands I am using. Below are two pairs of commands I have in crontab but for some reason it is not running the two scripts at the specified times... in fact it is not running them at all.
Can anyone suggest why?
---------- METHOD 1 THAT I TRIED ------------
@hourly GET http://www.XXXX.com/cgi-bin/arp3/arp3-auto.pl
@daily GET http://www.XXXX.com/cgi-bin/arp3/arp3-report.pl
---------- METHOD 2 THAT I TRIED ------------
@hourly /home/www/www.XXXX.com/cgi-bin/arp3/arp3-auto.pl > /dev/null 2>&1
@daily /home/www/www.XXXX.com/cgi-bin/arp3/arp3-report.pl > /dev/null 2>&1
---------------------------
Neither of the above worked....
Suggestions?
Thanks in advance,
C
