I know the standard way to disable a task in cron
is to comment the line with the task using the #
sign in front of it, as with most Unix config files or shell scripts. e.g.:
53 23 * * * /home/dolan/y-u-du-dis.sh 2>&1
That's fine for just one task, but it's really annoying having to comment 100 lines or so... so the question is: Is there a way to comment more than one entry at a time in cron? Something like multi-line comments, or a shortcut to comment everything in the crontab...
I found this question and answer in ServerFault, which basically says that you can't.