Why is my cron job not running?
Because of the way that free hosting servers are set up, cron jobs run in an awkward manner. The following tips should be kept in mind when creating cron jobs:
- Both the “Minutes” and “Hours” box must be filled out for the cron job to run. You can use a 0 to indicate 0 hours or 0 minutes.
- Cron jobs will not always run. Make sure that your system does not rely on cron jobs for important tasks.
Why is my cron job running too often?
There are a few reasons why your cron job may be running too often. Note that you can always check the time in your PHP file, and only execute the script if the time is correct, or within a certain range. Below are a few reasons why your cron job may run more often than you expect:
- Cron jobs may execute every hour, on the hour. We don’t know why this happens, but some cron jobs will execute every hour, no matter what settings you have selected.
- If the hours selection box has a number greater than “2”, the following will happen:
- Your cron job will run every hour on the specified minute
- Your cron job will run every specified number of hours
- If the hours selection box is set to “1”, your cron job will run every hour on the specified minute (So it will basically ignore the one, we don’t know why this happens).
Are you going to fix these problems?
Yes, we are in the process of creating a new system to run cron jobs in a more timely manner. Unfortunately, we do not have a date when this system will be released.