List all the users crontabs on unix or linux.

We needed and overview of all crontabs for each user and this is what we cameup with:

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

Gl again,
Thomas

Leave a Reply

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