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.
bcron-update
runs as root in order to be able to read system files that would
potentially be unreadable otherwise.
On Debian, if
path
is a directory,
bcron-update
skips files in this directory with names that do not solely consist of
lower- and uppercase letters ('a'-'z', 'A'-'Z'), digits ('0'-'9'),
underscores ('_'), and hyphens ('-').
EXAMPLES
To mirror modern vixie-cron's behavior, use:
bcron-update /etc/crontab /etc/cron.d
ENVIRONMENT
BCRON_SPOOL
The spool directory for bcron. Defaults to
/var/spool/cron.
BCRON_USER
After writing files and before moving them into their final location,
bcron-update
changes the ownership of the file to this user so that
bcron-sched
can read them.