If your scheduled task/cron job did not run when you asked it to, there are a few things you can check.
Make certain that the permissions for your script are set correctly. They should be 711 or 755.
If the interpreter is not specified, then the server will not be able to read the code in your script.
Some of the interpreters are:
If your script is adapted from a CGI script, you will need to make certain the script can be run by the shell. For example, if it includes #!/usr/bin/perl, that will be interpreted as a comment, and will stop it from running.
In the eXtend Control Panel, you can test the script before you save it. Test it after making changes and see if it runs the way you would expect it to.
The output code can be emailed to you from the script, and from there you can see how far the script gets before it fails.
If you are still having problems, please raise a Support Ticket with the Customer Services team.
Article ID: 480
Created On: Tue, Mar 17, 2015 at 3:41 PM
Last Updated On: Tue, May 12, 2015 at 9:02 AM
Online URL: https://www.heartinternet.uk/support/article/why-did-my-scheduled-task-cron-job-not-run.html