answersLogoWhite

0

Computer Networking
Jobs
Linux
The Difference Between

What is a 'cron job'?


Top Answer
User Avatar
Wiki User
Answered 2009-03-22 16:08:07

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/ntpstart.sh

The above entry will run the /usr/local/bin/ntpstart.sh 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]

001
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
๐Ÿ˜‚
0
User Avatar

Your Answer

Loading...

Still have questions?

Related Questions

What is a cron job?

A cron job is a time based job scheduler on a computer system.


What is the meaning of a cron job?

A cron job is a time oriented planner/organizer. The word cron comes from cronos in greek, meaning time. In other words, its pretty much a planner of some sort. A cron job is preformed at a certain time of the day as it's programmed to.


Where does crontab reside in AIX?

/var/spool/cron/crontabs/ - cron files of users /var/adm/cron/ - other cron settings


What is cron made from?

http://en.wikipedia.org/wiki/CRON-diet


What is the definition of a cron job?

The definition of a cron job is timed scheduler in operating systems such as unix based operating systems. You can get more information about this at the Wikipedia. Once on the website, type "Chron" into the search field at the top of the page and press enter to bring up the information.


How tall is C.J. Cron?

MLB player C.J. Cron is 6'-04''.


What is unix schedular and how it work?

There are two standard job schedulers in Unix - 'at' and 'cron'. Neither can be answered in a short answer so it is suggested that you do an internet search on either of these two commands, or use the 'man' or 'info' command on 'at' or 'cron' on your Unix/Linux system.


What is the difference between cron and anacron?

Anacron is the cron for desktops and laptops. CronAnacronMinimum granularity is minute (i.e Jobs can be scheduled to be executed every minute)Minimum granularity is only in daysCron job can be scheduled by any normal user ( if not restricted by super user )Anacron can be used only by super user ( but there are workarounds to make it usable by normal user )Cron expects system to be running 24 x 7. If a job is scheduled, and system is down during that time, job is not executed.Anacron doesn't expect system to be running 24 x 7. If a job is scheduled, and system is down during that time, it start the jobs when the system comes back up.Ideal for serversIdeal for desktops and laptopsUse cron when a job has to be executed at a particular hour and minuteUse anacron when a job has to be executed irrespective of hour and minute


Where was C.J. Cron born?

MLB player C.J. Cron was born in Fullerton, CA.


When was Evelyn Cron born?

Evelyn Cron was born on February 24, 1940, in Magdeburg, Germany.


What is the definition of a cron program scheduler?

Cron periodically runs scheduled programs at certain times or dates.


Does C.J. Cron bat right or left?

MLB player C.J. Cron bats right.


Does C.J. Cron throw right or left?

MLB player C.J. Cron throws right.


How much does C.J. Cron weigh?

MLB player C.J. Cron weighs 235 pounds.


How old is C.J. Cron?

As of the 2014 MLB season, C.J. Cron is 24 years old.


What MLB team does C.J. Cron play for?

C.J. Cron plays for the Los Angeles Angels.


What position does C.J. Cron play?

C.J. Cron is a designated hitter for the Los Angeles Angels.


When was C. J. Cron born?

C. J. Cron was born on 1990-01-05.


Where can i go to find out about a Cron Job?

If one is looking for a Cron job, then they should locate someone of the field in order to get most of their questions answered by someone with experience in the specific field. If all of their questions are not answered, then they should personally contact the manager of the company. If they are still having trouble having their questions answered and they feel as if they have tried everything, then they should not take the risk.


When and where was baseball player Chris Cron born?

Chris Cron was born March 31, 1964, in Albuquerque, NM, USA.


What has the author Theodore O Cron written?

Theodore O. Cron has written: 'Portrait of Carnegie Hall' -- subject(s): Music


What has the author William Cron written?

William Cron has written: 'Mount Pleasant, 1854-1954' -- subject(s): History, Pictorial works


What has the author B S Cron written?

B. S. Cron has written: 'A handlist of western manuscripts' -- subject(s): Manuscripts, Catalogs


Which is correct for suture material Tycron or Ti-Cron?

Steadman's lists both spellings and I believe they are sold under both names (depending on manufacturer), but in my experience Ti-Cron is the preferred spelling, probably by virtue of its being the bigger seller.


What is the meaning of piilatorleeyaal in Maya Yucatec?

cron