If your scheduled task/cron job did not run when you asked it to, there are a few things you can check.
Check the permissions
Make certain that the permissions for your script are set correctly. They should be 711 or 755.
Specify the script interpreter
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:
- Perl - /usr/bin/perl
- PHP4 - /usr/bin/php4
- PHP5 - /usr/bin/php
Ensure the script will run
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.
Use the test function
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.
Add debugging code
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.