PDA

View Full Version : My Cron job won't run :(



snowweb
07-28-2009, 06:46 PM
I've just installed Drupal application and it has put a file called cron.php in public_html. I have set up the cron below


5 * * * * * wget -O - -q -t 1 /home/username/domains/example.com/public_html/cron.php >/dev/null 2>&1

I copied the command from the Druple install.txt file (obviously I changed the domain name :)

Trouble is, it's not running at all. What have I done wrong please?

Also, it would be great if beside the list of scheduled crons, there was a "Run Now" button, so it could be tested without having to wait for the time to elapse or having to change the schedule.

Thanks

pete

snowweb
07-28-2009, 07:18 PM
Sorry, guys, I just changed the path to http://example.com/cron.php and it started working.

Regards,

pete