Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Server Daily
IT Management Daily
Subscribe News
Subscribe PR
Subscribe Security

internet.com
Internet News
Small Business

Advertise
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

Time to dispel open source myths, says Liam Maxwell

SECURITY: Nmap Inside and Out

Eight features Windows 8 'borrowed' from Linux

Malware devs embrace open-source

A tale of two distros: Ubuntu and Linux Mint

Raspberry Pi benchmarked against Beagleboard, low price is long term

20 popular Ubuntu Linux apps you may want to try

A Selection of the Very Best Open Source Tutorials and Tools

Android Ice Cream Sandwich ported to x86 tablets, netbooks and notebooks

SECURITY: Google Chrome 17 Improves Security



Applications Management Engineer Sr (NYC)
Next Step Systems
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
:LinuxLookup.com: Crontab Scheduling Service Guide
LinuxLookup.com: Crontab Scheduling Service Guide
Oct 1, 2000, 17 :52 UTC (0 Talkback[s]) (4666 reads)

(Other stories by Vicky)

"Certain processes must be run at specific times, over and over again. An example of this might be a backup process that is launched each night as the rest of the world sleeps, or a log analyzer that must ran every minute. These processes are ran at certain times or on certain days; the rest of the time, they are not running because they require user interaction (command) or "direction" for lack of a better term. This is where cron comes in handy. It allows you to schedule a specific task to be ran when ever you please, on the minute, hourly, daily, monthly and thus giving you a sense of relief knowing tasks are being executed without you having to baby-sit your system."

"Cron is started from either rc or rc.local and returns immediately, so there is no need to background this command. Cron searches /etc/crontab for system entries and also /var/spool/cron for entries that match users in the /etc/passwd file; found entries are loaded into memory. This occurs every minute as cron "wakes-up" and does several things:

    1. It checks the entries that it knows about and runs any commands that are scheduled to run.

    2. It determines whether the modtime on the cron directory has changed.

    3. If the modtime on the cron directory has changed, cron checks each of the files and reloads any that have changed."

"Since cron checks for changes every minute, it is unnecessary to restart cron when the cron files are changed (edited)."

Complete Story

Related Stories:
LinuxPlanet: Major Tom, This is Job Control(Jul 27, 2000)
Lansystems.com: Crontab guide(Jul 11, 2000)
Linux.com: Using Crontab with Linux(Dec 05, 1999)
Ext2: Using Cron and At to schedule jobs(Oct 27, 1999)
Dear Lina: Running a shell script with the cron daemon(Sep 21, 1999)
Linux Journal: Take Command -- cron: Job Scheduler(Aug 02, 1999)



No talkbacks posted.
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!

..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP