Artificial intelligent assistant

Any way to quickly disable/renable cron jobs? I currently have 50 cron scripting jobs created on crontab -e. These scripts check that various services are running. Sometimes when I'm testing the functionality of one service this requires me to remove a lot of cron jobs. This makes the bells and whistles shooting off constant alerts off an outage. My workaround currently is to remove all of the cron manually by typing out `nano crontab -e` and running CTRL+K from the top of the list (not very fun to do). I want to know is it possible to disable cron quickly using a command rather than delete all the jobs and place them back in later on? Or can I create an empty text file and run a command to have cron read in that file and replace all the current jobs with that empty text file? Once I'm ready to use all my cron jobs again simply have it read in a text file that contains all my listed cron jobs.

Save your crontab to a file:


crontab -l > my-crontab


Delete your crontab:


crontab -r


Then load back the crontab from the file:


crontab my-crontab

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 7e4dacfdd1201b94113ff0b1cc7b0564