Skip to content

Instantly share code, notes, and snippets.

@Voronenko
Created April 29, 2015 10:17
Show Gist options
  • Save Voronenko/74b6c78cc04172cf7d4b to your computer and use it in GitHub Desktop.
Save Voronenko/74b6c78cc04172cf7d4b to your computer and use it in GitHub Desktop.
List crontab entries 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