Skip to content

Instantly share code, notes, and snippets.

@jarvys
Created September 23, 2015 02:45
Show Gist options
  • Save jarvys/e0302e4b1c5ef5b6dcc4 to your computer and use it in GitHub Desktop.
Save jarvys/e0302e4b1c5ef5b6dcc4 to your computer and use it in GitHub Desktop.
list all crontabs
for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment