Linux Today: Linux News On Internet Time.
Search Linux Today
search.internet.com
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

Become a Marketplace Partner

internet.commerce
Be a Commerce Partner














The Linux Channel at internet.com
Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Subscribe News
Subscribe PR
Subscribe Security

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

The Problem With The Linux Community

Vim 101: A Beginner's Guide to Vim

Open Source Science: A Revolution From Within

openSUSE 11.2-- Incremental Updates, Plenty of Polish

Microsoft, other rivals slam Google Chrome OS

Intel Linux Graphics Shine With Fedora 12

Editor's Note: Do It Yourself "Cloud"

Google Chrome OS: First looks, first impressions

Kernel Log: Coming in 2.6.32 (Part 3) - Storage

TV Mythos Renewed: MythTV 0.22 with Many Improvements




Technical Specialist II – PC – LAN (AZ)
Next Step Systems
US-AZ-Scottsdale

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]) (4347 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

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs