Created
June 8, 2016 09:16
-
-
Save eniuz/8f9bf74d18da10ee7ad98a1a953f8aa4 to your computer and use it in GitHub Desktop.
List cron jobs for all users
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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