January 23rd, 2014, 04:27 PM
Trying a set up a Cron job on GoDaddy
I'm trying to get a Cron job set up on GoDaddy but it doesn't seem to want to run!
So far the GoDaddy help people have been pretty useless. The first time I emailed them for help, they sent me a copy of a standard help page that told me where the cron job setup page was. This despite the fact that I'd attached a screenshot of that very page to my original enquiry. When I emailed them back, they replied that they could't help with coding issues! All that I wanted was the proper syntax to use when setting up a cron job.
...my cron job is set up in:
What command do I need to enter in the command box of the cron setup page? I'm running Linux shared hosting? Any help would be greatly appreciated. The inability to set up cron jobs is holding back a number of projects I'd like to work on right now.
January 23rd, 2014, 05:34 PM
Assuming that this interface conforms to the standards of cron, then you'll want 6 things, in order from left to right:
Day of month
Day of week
Command to run
So to run your command at 25 minutes past 10 in the evening every Monday:
If that is pure php you'll want to 'submit' it to the php interpreter, so something like:
25 22 * * 1 /home/miktor/scripts/cron_test.php
The moon on the one hand, the dawn on the other:
The moon is my sister, the dawn is my brother.
The moon on my left and the dawn on my right.
My brother, good morning: my sister, good night.
-- Hilaire Belloc
February 2nd, 2014, 12:57 PM
Also remember the command may need the full path to PHP before the file name, the path seems to be /web/cgi-bin/php5_3, but you'll have to check yourself to be sure.