Created
October 25, 2019 08:02
-
-
Save KeyboardInterrupt/2368422d34730442c2c87805faa1046b to your computer and use it in GitHub Desktop.
list all user specific crontabs
This file contains 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/bash | |
for user in /var/spool/cron/crontabs/* | |
do | |
echo #${user}'s crontab: | |
cat ${user} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment