Skip to content

Instantly share code, notes, and snippets.

@mcalhoun
Created November 2, 2015 18:43
Show Gist options
  • Save mcalhoun/1f1e895854c713a2622f to your computer and use it in GitHub Desktop.
Save mcalhoun/1f1e895854c713a2622f to your computer and use it in GitHub Desktop.
Show 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