Skip to content

Why was my cronjob disabled?

Your cronjob will fail when your web server is down/unreachable, or it returns an HTTP status code other than 2xx (200 - 204).

It will be disabled after a failure threshold. The default failure threshold is 20 consecutive failures in the free plan. Pro users can update it up to 100 in the section Failures, retry, and repeat when adding/editing cronjobs.

You will receive a cron notification (via email, Slack, or webhook) when your cronjob was disabled because of failures.

When your cronjob fails half the failure threshold, we will back off linearly. For example, with a failure threshold of 20:

  • After 10 consecutive failures, we remove the next queued execution.
  • After 11 consecutive failures, we remove the next 2 queued executions.
  • After 12 consecutive failures, we remove the next 3 queued executions.
  • After 19 consecutive failures, we remove the next 10 queued executions.
  • After 20 consecutive failures, we disable your cronjob.

The removed queued executions have no payload and are within:

  • 1 day if your cronjob runs 4 times a day or less
  • 3 hours if your cronjob runs 24 times a day or less
  • 1 hour otherwise

This way FastCron won’t hitting your failing cronjobs repeatedly and overloading your server with unnecessary requests.