Skip to content

Instantly share code, notes, and snippets.

@andreas-bergstrom
Created October 4, 2012 13:46
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 andreas-bergstrom/3833617 to your computer and use it in GitHub Desktop.
Save andreas-bergstrom/3833617 to your computer and use it in GitHub Desktop.
List cronjobs for all users
// With sudo or as root-user
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