blob: f03ede2b510651d25bbe5825803f1c94c8626546 (
plain)
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
|
.TH ANACRONTAB 5 2004-07-11 "Pascal Hakim" "Anacron Users' Manual"
.SH NAME
/etc/anacrontab \- configuration file for anacron
.SH DESCRIPTION
The file
.I /etc/anacrontab
describes the jobs controlled by \fBanacron\fR(8).\&
Its lines can be of three kinds: job-description lines, environment
assignments, or empty lines.\&
.PP
Job-description lines are of one of these two forms:
.PP
period delay job-identifier command
.PP
@period_name delay job-identify command
.PP
The
.I period
is specified in days, the
.I delay
in minutes.\&
The
.I job-identifier
can contain any non-blank character, except slashes.\&
It is used to identify the job in Anacron messages, and as the name for the
job's timestamp file.\&
The
.I command
can be any shell command.\&
The fields can be separated by blank spaces or tabs.\&
The
.I period_name
can only be set to monthly at the present time.\&
This will ensure jobs are only run once a month, no matter the number of days
in this month, or the previous month.\&
.PP
Environment assignment lines are of the form:
.PP
VAR = VALUE
.PP
Spaces around
.I VAR
are removed.\&
No spaces around
.I VALUE
are allowed \%(unless you want them to be part of the value).\&
The assignment takes effect from the next line to the end of the file, or to
the next assignment of the same variable.\&
.PP
Empty lines are either blank lines, line containing white-space only, or lines
with white-space followed by a \&'#'\& followed by an arbitrary comment.\&
.PP
You can continue a line onto the next line by ending it with a \&'\e'.\&
.SH "SEE ALSO"
\fBanacron\fR(8)
.PP
The Anacron
.I README
file.\&
.SH AUTHOR
Itai Tzur \%<itzur@actcom.co.il>
.PP
Currently maintained by Lance Lin \%<lq27267@gmail.com>.\&
|