How do I list all cron jobs for all users?

Posted by yukondude on Stack Overflow See other posts from Stack Overflow or by yukondude
Published on 2008-09-25T18:01:31Z Indexed on 2010/05/19 1:00 UTC
Read the original article Hit count: 219

Filed under:
|

Is there a command or an existing script that will let me view all of a *NIX system's scheduled cron jobs at once? I'd like it to include all of the user crontabs, as well as /etc/crontab, and whatever's in /etc/cron.d. It would also be nice to see the specific commands run by run-parts in /etc/crontab.

Ideally, I'd like the output in a nice column form and ordered in some meaningful way.

I could then merge these listings from multiple servers to view the overall "schedule of events."

I was about to write such a script myself, but if someone's already gone to the trouble...

© Stack Overflow or respective owner

Related posts about unix

Related posts about cron