Created
January 11, 2019 08:38
-
-
Save shukla2112/df904d5b28215e9e5c83e239d8a7fef1 to your computer and use it in GitHub Desktop.
cron operations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Comment out the root user cronjob | |
sudo crontab -l | sed '/\/usr\/local\/bin\/my-cron/s!^!#!' | sudo crontab -u root - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment