How Do I Comment Crontab Entries in Unix?
Contents Can You Put Comments in Crontab? Note That Comments Are Not Allowed on the Same Line as Cron Commands, Since They Are Considered a Part of the...
Contents
Can you put comments in crontab?
Note that comments are not allowed on the same line as cron commands, since they are considered a part of the command. Similarly, comments are not allowed on the same line as environment variable settings.
How do you comment and uncomment a cron job in UNIX?
Run “vi /etc/crontab“, arrow down to each line you wish uncommented and press “x” to delete the #. If you make a mistake, press “u” to undo it. When done, type “:wq” to exit vi.