Skip to content

Instantly share code, notes, and snippets.

@jhaemin
Last active June 17, 2020 00:12
Show Gist options
  • Select an option

  • Save jhaemin/06b2ef128652bf336a847605e7126557 to your computer and use it in GitHub Desktop.

Select an option

Save jhaemin/06b2ef128652bf336a847605e7126557 to your computer and use it in GitHub Desktop.
# 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