wood burning stoves 2.0*
The moose likes Linux / UNIX and the fly likes Kron jobs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Kron jobs" Watch "Kron jobs" New topic
Author

Kron jobs

vishwanath nadimpally
Ranch Hand

Joined: Jan 25, 2005
Posts: 116
Hello all,

Does any body know where kron jobs on a server usually sit. If they are to be restarted how would it be done.
Thanks
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Do you talk about cronjobs?

They are defined in a table called crontab on a per user base.
starts an editor and verifys after closing it the correct syntax.
lists your crontab.


http://home.arcor.de/hirnstrom/bewerbung
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16160
    
  21

cron itself is a daemon that scans the crontabs. The crontab entries have scheduling information and a unix command line for each entry (one entry per line in the crontab). When the schedule indicates that the job should run, cron sets up the owner's environment and executes the associated command. Any output from the command is piped to mail and emailed to the crontab owner.

For cronjobs run as root processes on RedHat and Fedora (maybe other Linuxes), there are also a set of directories in /etc, such as /etc/cron.daily. If you drop an executable script (or link to a script) into one of these directories, it will be executed by the system daily (or weekly, or hourly, etc.)

crontab -e uses the editor that's defined in your EDITOR environment variable and that's almost invariably vi, unless you override it to use some other text editor.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Kron jobs