Sunday, June 28, 2009

How to disable a cron job?

Simply click on Disable icon. Your cron job will be disabled, and no longer be executed.

For Unix/Linux users, you can simply edit your crontab file (using crontab -e), and add # at beginning of cron job line you wanna disable.

For example, you have this cron job:
*/5 * * * * lynx
And you wanna disable it. Change it into:
#*/5 * * * * lynx


  1. Thanks for the posting.

    Is there any other way than commenting the jobs, because I have more number of corn jobs to be disabled for a day.

  2. This comment has been removed by the author.