I'm using crontab on Ubuntu 10.04 and I have had 7 tasks running smoothly for about 6 months. I've now created a new script but for some frustrating reason it will be execute. It's a small task that needs to run every two minutes. The issue doesn't reside with the code as if I execute the script manually it works perfectly. The script is written in PHP and I'm running Apache2.
This works fine:
*/5 * * * * php -q /var/tasks/PEQ.php
This does not:
*/2 * * * * php -q /var/tasks/SSC.php
There are no errors being reported by the script, which has error reporting on, and there are no errors being logged by crontab.
Thanks in advance!