Skip to content

Instantly share code, notes, and snippets.

@gitfrage
Created November 15, 2016 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gitfrage/f5c629b16e646e130d5b0de33b6a63d8 to your computer and use it in GitHub Desktop.
Save gitfrage/f5c629b16e646e130d5b0de33b6a63d8 to your computer and use it in GitHub Desktop.
List crontab for all users
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