Last active
June 17, 2020 00:12
-
-
Save jhaemin/06b2ef128652bf336a847605e7126557 to your computer and use it in GitHub Desktop.
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
| # user specific crontab | |
| # edit crontab | |
| crontab -e | |
| # view the contents of crontab | |
| crontab -l | |
| # erase crontab | |
| # WARNING: The following command will not ask you to confirm that you want to erase your crontab. | |
| # Only run it if you are certain that you want to erase it. | |
| crontab -r | |
| # erase with confirmation | |
| crontab -r -i | |
| # restart crontab when you changed the system date | |
| sudo service cron stop | |
| sudo service cron start | |
| # cron log | |
| cat /var/log/syslog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment