Skip to content

Instantly share code, notes, and snippets.

@adyrcz
Created July 3, 2015 17:14
Show Gist options
  • Save adyrcz/b15e4e5a955d5188dcc2 to your computer and use it in GitHub Desktop.
Save adyrcz/b15e4e5a955d5188dcc2 to your computer and use it in GitHub Desktop.
List all cron jobs for all users
sudo 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