Skip to content

Instantly share code, notes, and snippets.

@ejoubaud
Created July 31, 2013 07:14
Show Gist options
  • Save ejoubaud/6119967 to your computer and use it in GitHub Desktop.
Save ejoubaud/6119967 to your computer and use it in GitHub Desktop.
List all cron jobs for all users on a given box
# List cron jobs for all users
for user in $(cut -f1 -d: /etc/passwd); do sudo crontab -u $user -l; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment