Show all cronjobs for all users

This is a simple script to get all cronjbs for all users on a system

for someone in $(cut -f1 -d: /etc/passwd); do echo $someone; crontab -u $someone -l ; done

nJoy 😉

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.