Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

The title says everything.

I'm using Fedora 11.

share|improve this question
up vote 6 down vote accepted

There is no native command to do this, but you can use a simple bash oneliner like this:

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

The above would read out all user entries in /etc/passwd and list their appropriate crontab entries. sudo usage is required, since you'd need superuser privileges to access another user's cron.

share|improve this answer
Perferct! Thank you very much. – Luc M Mar 4 '10 at 14:37
This assumes your users are all listed in /etc/passwd. If you use a different naming service, say for example LDAP, to define your user namespace, they will not appear in /etc/passwd. You might instead consider using "getent passwd" in place of the cut command above. – ktower Mar 4 '10 at 14:43

I don't think so

You could do something like this:

for crontab in `ls /etc/cron.*/* /var/spool/cron/* /etc/crontab`
echo $crontab
cat $crontab
share|improve this answer

cat /var/spool/cron/*

Many distributions have additional system crons configured via /etc as well. For example, CentOS has files in /etc/cron*

Let me know if you have any further questions.

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.