When you administrate a server, it could be interresting to list all crontab from all users declare on it.

Naturally you will not connect with each user (if you can...) to check crontab.

To simply list crontabs, connect to server iwth root user and type the following command :

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

Next Post Previous Post