Skip to content

Instantly share code, notes, and snippets.

@skorotkiewicz
Created December 8, 2016 15:28
Show Gist options
  • Save skorotkiewicz/a327525387e78c493dad221b2779030e to your computer and use it in GitHub Desktop.
Save skorotkiewicz/a327525387e78c493dad221b2779030e 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