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

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...