Manpage of bcron-update

Content-type: text/html

# bcron-update

Section: Maintenance Commands (8)
Index Return to Main Contents

## NAME

bcron-update - Update system crontabs.

## SYNOPSIS

bcron-update path [ path ... ]

## DESCRIPTION

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.

## 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.

## SEE ALSO

bcron-sched(8)

## DIAGNOSTICS

bcron-update outputs three different kinds of messages about actions it is taking.

Rescanning /etc/cron.d
  The named directory has been modified, and will be scanned to determine what files have been added or deleted.
-/etc/cron.d/oldfile
  The named file no longer exists and will be removed from the spool.
+/etc/cron.d/newfile
  The named file was either created or modified since the last scan, and will be copied into the spool.

## AUTHOR

Bruce Guenter <bruce@untroubled.org>

## Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
ENVIRONMENT
SEE ALSO
DIAGNOSTICS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 22:54:11 GMT, November 15, 2012