Debian Codegraph @

upstream/debian-trixie/man5/anacrontab.5

raw
1 .TH ANACRONTAB 5 2004-07-11 "Pascal Hakim" "Anacron Users' Manual"
2 .SH NAME
3 /etc/anacrontab \- configuration file for anacron
4 .SH DESCRIPTION
5 The file
6 .I /etc/anacrontab
7 describes the jobs controlled by \fBanacron\fR(8).\&
8 Its lines can be of three kinds: job-description lines, environment
9 assignments, or empty lines.\&
10 .PP
11 Job-description lines are of one of these two forms:
12 .PP
13 period delay job-identifier command
14 .PP
15 @period_name delay job-identify command
16 .PP
17 The
18 .I period
19 is specified in days, the
20 .I delay
21 in minutes.\&
22 The
23 .I job-identifier
24 can contain any non-blank character, except slashes.\&
25 It is used to identify the job in Anacron messages, and as the name for the
26 job's timestamp file.\&
27 The
28 .I command
29 can be any shell command.\&
30 The fields can be separated by blank spaces or tabs.\&
31 .I period_name
32 can be set to
33 .B monthly
34 or
35 .BR yearly .\&
36 This will ensure jobs are only run once a month, no matter the number of days
37 in this month, or the previous month; or analogously for the year.\&
38 .PP
39 Environment assignment lines are of the form:
40 .PP
41 VAR = VALUE
42 .PP
43 Spaces around
44 .I VAR
45 are removed.\&
46 No spaces around
47 .I VALUE
48 are allowed \%(unless you want them to be part of the value).\&
49 The assignment takes effect from the next line to the end of the file, or to
50 the next assignment of the same variable.\&
51 .PP
52 Empty lines are either blank lines, line containing white-space only, or lines
53 with white-space followed by a \&'#'\& followed by an arbitrary comment.\&
54 .PP
55 You can continue a line onto the next line by ending it with a \&'\e'.\&
56 .SH "SEE ALSO"
57 \fBanacron\fR(8)
58 .PP
59 The Anacron
60 .I README
61 file.\&
62 .SH AUTHOR
63 Itai Tzur \%<[email protected]>
64 .PP
65 Currently maintained by Lance Lin \%<[email protected]>.\&