Tuesday, May 11, 2010

check cronjobs run by all users

how to check the cronjobs run by all users in a linux server?

below command would help::

for i in `cat /etc/passwd | cut -f 1 -d ':'`; do echo -n "$i: "; crontab -l -u $i; done;

cheers..

No comments:

Post a Comment