I have a hourly cronjob script that
curls a php script. The php script isn't being executed. In
crontab -e I have:
1 * * * * /var/www/path/to/script.sh
grep cron /var/log/syslog outputs:
Mar 23 21:45:01 Emile CRON: (root) CMD (/var/www/path/to/anotherscript.sh) Mar 23 22:01:01 Emile CRON: (root) CMD (/var/www/path/to/anotherscript.sh) Mar 23 22:01:01 Emile CRON: (root) CMD (/var/www/path/to/script.sh) Mar 23 22:14:01 Emile CRON: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Mar 23 22:15:01 Emile CRON: (root) CMD (/var/www/path/to/anotherscript.sh)
I've verified that the url that is being
script.sh is correct and that the path in
crontab -e is correct. I also verified that the php script works when manually executed. What else is there? Any ideas? Another way to diagnose? What's that
cd / && run-parts in my syslog?
Thanks in advance for the help!