Linux: List / Display All Cron Jobs

by on July 7, 2009 · 9 comments· LAST UPDATED July 7, 2010


How do I view currently setup or all running cron jobs under Linux operating systems?

The cron service searches its spool area (usually /var/spool/cron/crontabs) for crontab files (which are named after user accounts); crontabs found are loaded into memory. cron also reads /etc/crontab, which is in a slightly different format. Additionally, cron reads the files in /etc/cron.d: it treats the files in /etc/cron.d as in the same way as the /etc/crontab file. The intended purpose of /etc/cron.d/ directory feature is to allow packages that require finer control of their scheduling than the /etc/cron.{daily,weekly,monthly} directories to add a crontab file to /etc/cron.d.

View Users Cronjob

Use the following syntax to view vivek users cronjob:

crontab -u userName -l
crontab -u vivek -l

View Root User Cronjob

Just type the following command:

crontab -l

View /etc/crontab

A cronjob can be also run from /etc/crontab file. To view it, enter:
# less /etc/crontab

View Daily Cronjob

Type the following commands:

cd /etc/cron.daily/
ls -l
cat filename

View Hourly Cronjobs

Type the following commands:

cd /etc/cron.hourly/
ls -l
cat filename

View Weekly Cronjobs

Type the following commands:

cd /etc/cron.weekly/
ls -l
cat filename

View Monthly Cronjobs

Type the following commands:

cd /etc/cron.monthly/
ls -l
cat filename

View Software (Package) Specific Cronjobs

Type the following commands

cd /etc/cron.d/
ls -l
cat filename
Tweet itFacebook itG+ itDownload PDF versionFound an error/typo on this page?

{ 9 comments… read them below or add one }

1 tworzenie oprogramowania October 17, 2012 at 6:02 am

Thank you for a very good summary. If a cron task is required to be executed on a schedule other than hourly, daily, weekly, or monthly, it can be added to the /etc/cron.d/ directory.


2 Toxic November 13, 2012 at 11:33 pm

view crontab from all users:

cat /var/spool/cron/*


3 weethomas February 19, 2014 at 6:37 pm

crontab -l just lists the jobs for the user who ran the command.

So, to view root’s jobs, you’d either need to be logged in as root or run it with sudo.


4 Dovryak June 18, 2014 at 12:10 pm

There is also very handy script to view all users crontabs:


5 M.Pasha June 20, 2014 at 7:28 am

How do we check running cronjob process.
I guess, its from ps -ef | grep

or any other suggestion.


6 abhijit September 10, 2014 at 6:01 am

To check running cronjob process use:crontab -l


7 Daniel October 22, 2014 at 3:41 pm

To list all user’s crobtab:

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


8 Mel March 22, 2015 at 9:40 pm

How does one check the “version” of cron running? How can one know if their cron is a “vixie-style” crontab or not?


9 nixCraft March 23, 2015 at 9:57 am

Try the following:

## debian/ubuntu, see version and man page for syntax ##
 dpkg -p cron
 man cron
## RHEL/CentOS specific info ##
 yum info cronie
 man crond
## See man page


Leave a Comment

Tagged as: , , , , , , , , , , , , , , , , , , , , , , ,

Previous Faq:

Next Faq: