Saturday, May 14, 2016

php - Cron job keeps running!

I've set up a cron job to wget a PHP script every hour. However, it seems to get stuck in a loop and constantly running. If I run the script in a browser or via the command line it works fine. I've tried using wget and command line PHP and I get the same problem.



Here's my job:




0, 9-18, * * 1-5 wget http://www2.lichfielddc.gov.uk/planning/cron.php

No comments:

Post a Comment