man-pages/man5/anacrontab.5.html
2021-03-31 01:06:50 +01:00

115 lines
2.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of ANACRONTAB</TITLE>
</HEAD><BODY>
<H1>ANACRONTAB</H1>
Section: Anacron Users' Manual (5)<BR>Updated: 2004-07-11<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
/etc/anacrontab - configuration file for anacron
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
The file
<I>/etc/anacrontab</I>
describes the jobs controlled by <B><A HREF="/cgi-bin/man/man2html?8+anacron">anacron</A>(8)</B>. Its lines can be of
three kinds: job-description lines, environment
assignments, or empty lines.
<P>
Job-description lines are of one of these two forms:
<P>
<BR>&nbsp;&nbsp;&nbsp;period&nbsp;&nbsp;delay&nbsp;&nbsp;job-identifier&nbsp;&nbsp;command
<P>
<P>
<BR>&nbsp;&nbsp;&nbsp;@period_name&nbsp;delay&nbsp;job-identify&nbsp;command
<P>
The
<I>period</I>
is specified in days, the
<I>delay</I>
in minutes. The
<I>job-identifier</I>
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</I>
can be any shell command. The fields can be separated by blank spaces or tabs.
The
<I>period_name</I>
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.
<P>
Environment assignment lines are of the form:
<P>
<BR>&nbsp;&nbsp;&nbsp;VAR&nbsp;=&nbsp;VALUE
<P>
Spaces around
<I>VAR</I>
are removed. No spaces around
<I>VALUE</I>
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.
<P>
Empty lines are either blank lines, line containing white-space only, or
lines with white-space followed by a '#' followed by an arbitrary comment.
<P>
You can continue a line onto the next line by ending it with a '\'.
<A NAME="lbAD">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?8+anacron">anacron</A>(8)</B>
<P>
The Anacron
<I>README</I>
file.
<A NAME="lbAE">&nbsp;</A>
<H2>AUTHOR</H2>
Itai Tzur &lt;<A HREF="mailto:itzur@actcom.co.il">itzur@actcom.co.il</A>&gt;
<P>
Currently maintained by Pascal Hakim &lt;pasc@(debian.org|redellipse.net)&gt;.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DT id="3"><A HREF="#lbAD">SEE ALSO</A><DD>
<DT id="4"><A HREF="#lbAE">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:02 GMT, March 31, 2021
</BODY>
</HTML>