Skip to content

Instantly share code, notes, and snippets.

@oscar230
Last active October 12, 2022 19:48
Show Gist options
  • Save oscar230/1189b41df953788e3c0dc4124ab31987 to your computer and use it in GitHub Desktop.
Save oscar230/1189b41df953788e3c0dc4124ab31987 to your computer and use it in GitHub Desktop.
Backup crontab
crontab -l > /tmp/crontab_$(whoami)_$(date +%F_%H-%M).bak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment