×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Cron Job Listing in Linux
 

Submitted by: M S Sridhar(sridhar.ms@gmail.com)

Monday Apr 24th 2017 by M S Sridhar

Language: Enterprise, Expertise: Intermediate — Learn how to identify what jobs have already been added.

Cron jobs are also known as scheduled jobs. After adding several of them, you might want to identify what jobs have been added. The following command helps.

[root@rivers cron]# crontab -l

It will result in something as below.

* * * * * cd /etc/init.d/; ./rhq-agent-wrapper.sh start

Where the first * is minute field, second * is hour field, third * is day of the month, fourth * is month field, fifth * is day of the week and the text after the * is the command to be executed.

Ex: * 1 * * * cd /etc/init.d/; ./rhq-agent-wrapper.sh start

In this example, the command will be executed at 1 a.m. every day.

Home
Mobile Site | Full Site
Copyright 2018 © QuinStreet Inc. All Rights Reserved