File: bcrontab.1.html

package info (click to toggle)
bcron 0.11-23
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 796 kB
  • sloc: sh: 3,155; ansic: 2,416; makefile: 34
file content (210 lines) | stat: -rw-r--r-- 4,634 bytes parent folder | download | duplicates (5)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!-- Creator     : groff version 1.22.2 -->
<!-- CreationDate: Wed Aug 12 10:07:16 2015 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<style type="text/css">
       p       { margin-top: 0; margin-bottom: 0; vertical-align: top }
       pre     { margin-top: 0; margin-bottom: 0; vertical-align: top }
       table   { margin-top: 0; margin-bottom: 0; vertical-align: top }
       h1      { text-align: center }
</style>
<title>bcrontab</title>

</head>
<body>

<h1 align="center">bcrontab</h1>

<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#OPTIONS">OPTIONS</a><br>
<a href="#ENVIRONMENT">ENVIRONMENT</a><br>
<a href="#FILES">FILES</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>
<a href="#AUTHOR">AUTHOR</a><br>

<hr>


<h2>NAME
<a name="NAME"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">bcrontab
&minus; Manage users crontab files</p>

<h2>SYNOPSIS
<a name="SYNOPSIS"></a>
</h2>



<p style="margin-left:11%; margin-top: 1em"><b>bcrontab</b>
[ <b>-u user</b> ] <i>file</i></p>


<p style="margin-left:11%; margin-top: 1em"><b>bcrontab</b>
[ <b>-u user</b> ] { <b>-l</b> | <b>-r</b> | <b>-e</b> }</p>

<h2>DESCRIPTION
<a name="DESCRIPTION"></a>
</h2>



<p style="margin-left:11%; margin-top: 1em"><b>bcrontab</b>
interfaces with the <b>bcron-spool</b> daemon to manage
crontab files in the privileged spool directory.</p>

<h2>OPTIONS
<a name="OPTIONS"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em"><b>-u
user</b></p>

<p style="margin-left:22%;">Tell <b>bcron-spool</b> that we
are acting on behalf of the named user. <b>bcron-spool</b>
will only accept the username if <b>bcrontab</b> is running
as either root or the same user ID as the named user.</p>

<table width="100%" border="0" rules="none" frame="void"
       cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>-l</b></p></td>
<td width="8%"></td>
<td width="66%">


<p>List the cronab crontab to standard output.</p></td>
<td width="12%">
</td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>-r</b></p></td>
<td width="8%"></td>
<td width="66%">


<p>Remove the user&rsquo;s crontab.</p></td>
<td width="12%">
</td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>-e</b></p></td>
<td width="8%"></td>
<td width="66%">


<p>Edit the current crontab.</p></td>
<td width="12%">
</td></tr>
</table>

<h2>ENVIRONMENT
<a name="ENVIRONMENT"></a>
</h2>


<table width="100%" border="0" rules="none" frame="void"
       cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="9%">


<p style="margin-top: 1em"><b>VISUAL</b></p></td>
<td width="2%"></td>
<td width="78%">


<p style="margin-top: 1em">If this is set, it is used as
the editor to invoke to edit a crontab.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="9%">


<p><b>EDITOR</b></p></td>
<td width="2%"></td>
<td width="78%">


<p>If <b>$VISUAL</b> is not set and this is, it is used as
the editor to invoke to edit a crontab. If neither are set,
<i>/bin/vi</i> is used.</p></td></tr>
</table>

<p style="margin-left:11%;"><b>BCRON_SOCKET</b></p>

<p style="margin-left:22%;">The path to the named socket
used to communicate with <b>bcron-spool</b>. Defaults to
<i>/var/run/bcron-spool</i>.</p>

<p style="margin-left:11%;"><b>LOGNAME</b></p>

<table width="100%" border="0" rules="none" frame="void"
       cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="6%">


<p><b>USER</b></p></td>
<td width="5%"></td>
<td width="78%">


<p>These two variables are used, in order, to determine the
user name invoking the program. One must be set if the
<b>-u</b> option is not used.</p></td></tr>
</table>

<h2>FILES
<a name="FILES"></a>
</h2>



<p style="margin-left:11%; margin-top: 1em"><b>bcrontab</b>
tries to writes a temporary file into the current directory,
and then into <i>/tmp</i> if that fails, in order to edit
the current crontab.</p>

<h2>SEE ALSO
<a name="SEE ALSO"></a>
</h2>



<p style="margin-left:11%; margin-top: 1em">bcron-spool(8),
crontab(5)</p>

<h2>AUTHOR
<a name="AUTHOR"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">Bruce Guenter
&lt;bruce@untroubled.org&gt;</p>
<hr>
</body>
</html>