Skip to content

Instantly share code, notes, and snippets.

@eniuz
Created June 8, 2016 09:16
Show Gist options
  • Save eniuz/8f9bf74d18da10ee7ad98a1a953f8aa4 to your computer and use it in GitHub Desktop.
Save eniuz/8f9bf74d18da10ee7ad98a1a953f8aa4 to your computer and use it in GitHub Desktop.
List cron jobs for all users
#!/bin/sh
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