|
|
1.1 root 1: Execute commands periodically
2:
3: CROND command.
4: /etc/crond
5:
6: crond is a daemon that executes commands at preset times. The
7: commands and their scheduled execution times are kept in the
8: /usr/spool/cron/crontabs/file_name, where file_name is the user name
9: from /etc/passwd. To preserve compatibility with cron 3.2.0
10: crond looks for /usr/lib/crontab first. If file exist crond runs
11: as cron 3.2.0 and never looks for the user's tables. Otherwise,
12: crond looks for user's tables and never will look for /usr/lib/crontab.
13:
14: When crond execute user crontab it changed effective id to user id,
15: and cd to user $HOME directory.
16:
17: crond should be executed only once (at boot time). /usr/lib/cron/FIFO
18: is used as a lock file to prevent the execution more than one crond.
19:
20: If mail options is enabled (default) crond will send mail to the
21: owner of crontab about all commands that failed.
22:
23: To allow crond to remove lock file /usr/lib/cron do not send signal
24: KILL to crond. You can use signal TERM.
25: crond ignores signals INT, HUP, & PIPE. crond uses ALRM signal by itself.
26:
27:
28: Files and directorys.
29:
30: /usr/lib/cron main cron directory.
31: 700 root root
32: /usr/lib/cron/FIFO lock file (named pipe).
33: created by crond; removed by crond/rc
34: /usr/lib/cron/cron.allow list of allowed users.
35: 600 root root
36: /usr/lib/cron/cron.deny list of denied users.
37: 600 root root
38: /usr/lib/crontab old crontab entry.
39: /usr/spool/cron spool directory parent
40: 700 root root
41: /usr/spool/cron/crontabs spool directory
42: 700 root root
43:
44: #/usr/lib/cron/log accounting information (not used).
45: #/etc/default/cron user config. file (not used).
46:
47: NOTICE: These two lines should be added to the /etc/rc file:
48: rm -f /usr/lib/cron/FIFO
49: /etc/crond&
50: The line:
51: /etc/cron&
52: should be removed.
53:
54: Bugs: crond does not write log file. Crond will do it as soon as I will know
55: how this log file should look, and what the reason is to have it.
56: The size of the hostname + domain should not exceed 1000 characters.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.