Uncategories

How to List All Jobs in Crontab

View Root’s Cron Jobs
crontab -l

View a User’s Cron Jobs
crontab -u username -l

View Daily Cron Jobs

View all the daily cron jobs:

ls -la /etc/cron.daily/

View a specific daily cron job:

less /etc/cron.daily/filename

View Hourly Cron Jobs

View all the hourly cron jobs:

ls -la /etc/cron.hourly/

View a specific hourly cron job:

less /etc/cron.hourly/filename

View Weekly Cron Jobs

View all the weekly cron jobs:

ls -la /etc/cron.weekly/

View a specific weekly cron job:

less /etc/cron.weekly/filename

View Monthly Cron Jobs

View all the monthly cron jobs:

ls -la /etc/cron.monthly/

View a specific monthly cron job:

less /etc/cron.monthly/filename

View /etc/crontab

less /etc/crontab

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s