File: bcron-update.8

package info (click to toggle)
bcron 0.09-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 476 kB
  • ctags: 313
  • sloc: ansic: 2,055; sh: 412; makefile: 123
file content (52 lines) | stat: -rw-r--r-- 1,403 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.TH bcron-update 8
.SH NAME
bcron-update \- Update system crontabs.
.SH SYNOPSIS
.B bcron-update
.I path
[
.I path ...
]
.SH DESCRIPTION
.B bcron-update
polls the named files or directories periodically to see if there are
any new, changed, or removed files.  When it detects changes, it mirrors
those changes into the crontab spool directory.
.B bcron-update
runs as root in order to be able to read system files that would
potentially be unreadable otherwise.
.SH EXAMPLES
To mirror modern vixie-cron's behavior, use:
.EX
bcron-update /etc/crontab /etc/cron.d
.EE
.SH ENVIRONMENT
.TP 5
.B BCRON_SPOOL
The spool directory for bcron.  Defaults to
.IR /var/spool/cron .
.TP 5
.B BCRON_USER
After writing files and before moving them into their final location,
.B bcron-update
changes the ownership of the file to this user so that
.B bcron-sched
can read them.
.SH SEE ALSO
bcron-sched(8)
.SH DIAGNOSTICS
.B bcron-update
outputs three different kinds of messages about actions it is taking.
.TP 5
.I Rescanning /etc/cron.d
The named directory has been modified, and will be scanned to determine
what files have been added or deleted.
.TP 5
.I -/etc/cron.d/oldfile
The named file no longer exists and will be removed from the spool.
.TP 5
.I +/etc/cron.d/newfile
The named file was either created or modified since the last scan, and
will be copied into the spool.
.SH AUTHOR
Bruce Guenter <bruceg@em.ca>