| 1 |
<!-- Creator : groff version 1.22.2 --> |
| 2 |
<!-- CreationDate: Wed Aug 12 10:07:16 2015 --> |
| 3 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| 4 |
"http://www.w3.org/TR/html4/loose.dtd"> |
| 5 |
<html> |
| 6 |
<head> |
| 7 |
<meta name="generator" content="groff -Thtml, see www.gnu.org"> |
| 8 |
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> |
| 9 |
<meta name="Content-Style" content="text/css"> |
| 10 |
<style type="text/css"> |
| 11 |
p { margin-top: 0; margin-bottom: 0; vertical-align: top } |
| 12 |
pre { margin-top: 0; margin-bottom: 0; vertical-align: top } |
| 13 |
table { margin-top: 0; margin-bottom: 0; vertical-align: top } |
| 14 |
h1 { text-align: center } |
| 15 |
</style> |
| 16 |
<title>bcron-update</title> |
| 17 |
|
| 18 |
</head> |
| 19 |
<body> |
| 20 |
|
| 21 |
<h1 align="center">bcron-update</h1> |
| 22 |
|
| 23 |
<a href="#NAME">NAME</a><br> |
| 24 |
<a href="#SYNOPSIS">SYNOPSIS</a><br> |
| 25 |
<a href="#DESCRIPTION">DESCRIPTION</a><br> |
| 26 |
<a href="#EXAMPLES">EXAMPLES</a><br> |
| 27 |
<a href="#ENVIRONMENT">ENVIRONMENT</a><br> |
| 28 |
<a href="#SEE ALSO">SEE ALSO</a><br> |
| 29 |
<a href="#DIAGNOSTICS">DIAGNOSTICS</a><br> |
| 30 |
<a href="#AUTHOR">AUTHOR</a><br> |
| 31 |
|
| 32 |
<hr> |
| 33 |
|
| 34 |
|
| 35 |
<h2>NAME |
| 36 |
<a name="NAME"></a> |
| 37 |
</h2> |
| 38 |
|
| 39 |
|
| 40 |
<p style="margin-left:11%; margin-top: 1em">bcron-update |
| 41 |
− Update system crontabs.</p> |
| 42 |
|
| 43 |
<h2>SYNOPSIS |
| 44 |
<a name="SYNOPSIS"></a> |
| 45 |
</h2> |
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
<p style="margin-left:11%; margin-top: 1em"><b>bcron-update</b> |
| 50 |
<i>path</i> [ <i>path ...</i> ]</p> |
| 51 |
|
| 52 |
<h2>DESCRIPTION |
| 53 |
<a name="DESCRIPTION"></a> |
| 54 |
</h2> |
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
<p style="margin-left:11%; margin-top: 1em"><b>bcron-update</b> |
| 59 |
polls the named files or directories periodically to see if |
| 60 |
there are any new, changed, or removed files. When it |
| 61 |
detects changes, it mirrors those changes into the crontab |
| 62 |
spool directory. <b>bcron-update</b> runs as root in order |
| 63 |
to be able to read system files that would potentially be |
| 64 |
unreadable otherwise.</p> |
| 65 |
|
| 66 |
<h2>EXAMPLES |
| 67 |
<a name="EXAMPLES"></a> |
| 68 |
</h2> |
| 69 |
|
| 70 |
|
| 71 |
<p style="margin-left:11%; margin-top: 1em">To mirror |
| 72 |
modern vixie-cron’s behavior, use:</p> |
| 73 |
|
| 74 |
<pre style="margin-left:11%;">bcron-update /etc/crontab /etc/cron.d</pre> |
| 75 |
|
| 76 |
|
| 77 |
<h2>ENVIRONMENT |
| 78 |
<a name="ENVIRONMENT"></a> |
| 79 |
</h2> |
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
<p style="margin-left:11%; margin-top: 1em"><b>BCRON_SPOOL</b></p> |
| 84 |
|
| 85 |
<p style="margin-left:18%;">The spool directory for bcron. |
| 86 |
Defaults to <i>/var/spool/cron</i>.</p> |
| 87 |
|
| 88 |
<p style="margin-left:11%;"><b>BCRON_USER</b></p> |
| 89 |
|
| 90 |
<p style="margin-left:18%;">After writing files and before |
| 91 |
moving them into their final location, <b>bcron-update</b> |
| 92 |
changes the ownership of the file to this user so that |
| 93 |
<b>bcron-sched</b> can read them.</p> |
| 94 |
|
| 95 |
<h2>SEE ALSO |
| 96 |
<a name="SEE ALSO"></a> |
| 97 |
</h2> |
| 98 |
|
| 99 |
|
| 100 |
|
| 101 |
<p style="margin-left:11%; margin-top: 1em">bcron-sched(8)</p> |
| 102 |
|
| 103 |
<h2>DIAGNOSTICS |
| 104 |
<a name="DIAGNOSTICS"></a> |
| 105 |
</h2> |
| 106 |
|
| 107 |
|
| 108 |
|
| 109 |
<p style="margin-left:11%; margin-top: 1em"><b>bcron-update</b> |
| 110 |
outputs three different kinds of messages about actions it |
| 111 |
is taking. <i><br> |
| 112 |
Rescanning /etc/cron.d</i></p> |
| 113 |
|
| 114 |
<p style="margin-left:18%;">The named directory has been |
| 115 |
modified, and will be scanned to determine what files have |
| 116 |
been added or deleted.</p> |
| 117 |
|
| 118 |
|
| 119 |
<p style="margin-left:11%;"><i>-/etc/cron.d/oldfile</i></p> |
| 120 |
|
| 121 |
<p style="margin-left:18%;">The named file no longer exists |
| 122 |
and will be removed from the spool.</p> |
| 123 |
|
| 124 |
|
| 125 |
<p style="margin-left:11%;"><i>+/etc/cron.d/newfile</i></p> |
| 126 |
|
| 127 |
<p style="margin-left:18%;">The named file was either |
| 128 |
created or modified since the last scan, and will be copied |
| 129 |
into the spool.</p> |
| 130 |
|
| 131 |
<h2>AUTHOR |
| 132 |
<a name="AUTHOR"></a> |
| 133 |
</h2> |
| 134 |
|
| 135 |
|
| 136 |
<p style="margin-left:11%; margin-top: 1em">Bruce Guenter |
| 137 |
<[email protected]></p> |
| 138 |
<hr> |
| 139 |
</body> |
| 140 |
</html> |