Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to view the all cron jobs in linux. Whats the command

share|improve this question
I realize that this is an honest question, but doesn't anyone know how to use google anymore? I've been seeing more and more questions here that took more time to post on serverfault than it would to get an answer from google. – Aaron Brown Dec 9 '09 at 18:41
A good lesson on cron is to examine how logrotate works... – djangofan Aug 16 '11 at 23:35
up vote 4 down vote accepted

varies by distro, varies by cron software, varies by usage.

this should cover everything on rhel/centos/fedora:

share|improve this answer
The same goes for Debian/Ubuntu. – andol Dec 8 '09 at 23:04

cat /var/spool/cron/*

share|improve this answer
plus cat /etc/cron*/* and cat /etc/crontab on most modern Unix-like systems. – womble Dec 8 '09 at 22:34

Another way...

As root, you can use the -u parameter to crontab mixed with -l to view that users crontab entries. Something like this:

cat /etc/passwd |cut -d ":" -f 1 | while read narf; do  crontab -u $narf -l; done

That will get every username in your passwd file -- grabbing the first field (-f 1) using ':' as a delimiter (-d ":") with cut, and then calling crontab -u -l for each user in the passwd file.

Often there is also a file /etc/crontab with the system-wide jobs.

share|improve this answer

In order to be complete, we mustn't forget anacron:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.