Return to Snippet

Revision: 19163
at October 16, 2009 18:56 by kitzelh


Initial Code
# Disable all cron jobs
EDITOR='perl -pi -e s/^/#off#/' crontab -e; crontab -l

# Enable all cron jobs
EDITOR='perl -pi -e s/^#off#//' crontab -e; crontab -l

Initial URL

                                

Initial Description

                                

Initial Title
Programmatically Edit Crontab

Initial Tags

                                

Initial Language
Bash