What is a 'cron job'?

User Avatar

Wiki User

โˆ™ 2009-03-22 16:08:07

Best Answer


A 'cron job' is a recurring, scheduled job entry on Unix/Linux systems. Consequently, this question should likely be re-categorized to fall under the Linux OS category.

For example, say we have written a nifty little shell script or 'C' program that starts ntpd (Network Time Protocol Daemon) to set the system time accurately and then shuts down the ntp daemon. If we wanted to run our little program twice a day, for instance, at a specific time, we would likely use cron to handle it for us.

Our cron tab entry might look something like the following...

01 06,18 * * * /usr/local/bin/

The above entry will run the /usr/local/bin/ shell script at 1 minute after 06:00 and 1 minute after 18:00 hours, every day of the week, every week of the year. See the man page for 'cron' on your system for more details. [JMH]

User Avatar

Wiki User

โˆ™ 2009-03-22 16:08:07
This answer is:
User Avatar
Study guides

What are advantages of Database Approach

What is a network that covers a large geographical area such as a city country or world

What is the worlds largest wan

What is a network server

See all cards
89 Reviews

Add your answer:

Earn +20 pts
Q: What is a 'cron job'?
Write your answer...
Still have questions?
magnify glass
Related questions
People also asked