Thursday, January 14, 2010

Who disabled my cron jobs?

Some of you may receive "Cron job disabled" message, and your cron jobs have been disabled due to 5 consecutive times.


Your cron job may fail because:
- Your web site is down.
Please check whether your site is still online or not.

- Your hosting's firewall had blocked SetCronJob.
Please contact your hosting provider and ask them whether their
firewall had blocked SetCronJob.
If your cron job doesn't need to be executed too frequently,
choose a smaller interval, e.g. every 30 minutes or every hour. This will prevent firewall from misunderstanding SetCronJob as a bad bot. 

- The outgoing connection is too bad.
SetCronJob is hosted in UK, if your web hosting located
too far from SetCronJob or network connection is bad, the connection may time out.
You can try enabling it, or set cron jobs with PHProxy URL:
+ Find a web proxy site installed PHProxy or similar proxy script.
+ Enter your cron jobs URL into its URL field, and press Enter.
+ Copy the URL displayed on address bar, and set cron job with that URL.

If you are not able to find a proxy, contact me :)

Hope it helps :)

Best regards,
Nguyen An Thuan.

 

3 comments:

  1. Hi,

    When a Cron Job has the status of failed...does it stop working or does it continue workinga fter that?

    Thanks

    ReplyDelete
  2. Hi Tomás,

    It will continue working :)

    If it fails 9 consecutive times, it will be disabled, and SetCronJob will check it every 3 hours, then once a day,... next 9 times to enable it if it backs fine.

    Hope it helps :)

    Best regards,
    Nguyen An Thuan.

    ReplyDelete