This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
anacron/manAUX_Limit.patch
2009-03-27 09:43:13 +00:00

96 lines
3.6 KiB
Diff

diff -up anacron-2.3/anacron.8.aux anacron-2.3/anacron.8
--- anacron-2.3/anacron.8.aux 2009-03-24 14:16:39.000000000 +0100
+++ anacron-2.3/anacron.8 2009-03-24 14:22:41.000000000 +0100
@@ -1,4 +1,4 @@
-.TH ANACRON 8 2004-07-11 "Pascal Hakim" "Anacron Users' Manual"
+.TH ANACRON 8 2009-03-24 "Marcela Mašláňová" "Anacron Users' Manual"
.SH NAME
anacron \- runs commands periodically
.SH SYNOPSIS
@@ -66,8 +66,8 @@ exists. If the LOGNAME environment varia
field.
.PP
Informative messages about what Anacron is doing are sent to \fBsyslogd(8)\fR
-under facility \fBcron\fR, priority \fBnotice\fR. Error messages are sent at
-priority \fBerror\fR.
+or \fBrsyslogd(8)\fR under facility \fBcron\fR, priority \fBnotice\fR. Error
+messages are sent at priority \fBerror\fR.
.PP
"Active" jobs (i.e. jobs that Anacron already decided
to run and now wait for their delay to pass, and jobs that are currently
@@ -163,4 +163,5 @@ The current implementation is a complete
The code base was maintained by Sean 'Shaleh' Perry <shaleh@(debian.org|valinux.com)>.
.PP
Since 2004, it is maintained by Pascal Hakim <pasc@(debian.org|redellipse.net)>.
-
+.PP
+For Fedora is anacron maintained by Marcela Mašláňová <mmaslano@redhat.com>.
diff -up anacron-2.3/anacrontab.5.aux anacron-2.3/anacrontab.5
--- anacron-2.3/anacrontab.5.aux 2009-03-24 14:16:39.000000000 +0100
+++ anacron-2.3/anacrontab.5 2009-03-24 14:23:39.000000000 +0100
@@ -1,4 +1,4 @@
-.TH ANACRONTAB 5 2004-07-11 "Pascal Hakim" "Anacron Users' Manual"
+.TH ANACRONTAB 5 2009-03-24 "Marcela Mašláňová" "Anacron Users' Manual"
.SH NAME
/etc/anacrontab \- configuration file for anacron
.SH DESCRIPTION
@@ -15,11 +15,20 @@ Job-description lines are of one of thes
.PP
@period_name delay job-identify command
.PP
-The
+The
.I period
-is specified in days, the
+is specified in days, the
.I delay
-in minutes. The
+in minutes. In addition, if the
+.I RANDOM_DELAY
+environment variable is set, then the value of
+.I RANDOM_DELAY
+is added to the delay. The value in
+.I RANDOM_DELAY
+denotes a maximal additional delay in minutes, where the minimum delay value is set, to user delay from anacrontab. A
+.I RANDOM_DELAY
+set to 12 would therefore add, randomly, between 0 and 12 minutes to the user defined delay.
+The
.I job-identifier
can contain any non-blank character, except slashes. It is used to identify
the job in Anacron messages,
@@ -42,12 +51,28 @@ 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.
+assignment of the same variable. The enviroment variable
+.I START_HOURS_RANGE
+sets the time frame, when the job could started.
.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 '\'.
+.SH EXAMPLE
+.nf
+# environment variables
+SHELL=/bin/sh
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+MAILTO=root
+RANDOM_DELAY=60
+# Anacron jobs will start between 6 and 8 o'clock.
+START_HOURS_RANGE=6-8
+# delay will be 5 minutes + RANDOM_DELAY for cron.daily
+1 5 cron.daily nice run-parts /etc/cron.daily
+7 8 cron.weekly nice run-parts /etc/cron.weekly
+@monthly 35 cron.monthly nice run-parts /etc/cron.monthly
+.fi
.SH "SEE ALSO"
.B anacron(8)
.PP
@@ -58,3 +83,5 @@ file.
Itai Tzur <itzur@actcom.co.il>
.PP
Currently maintained by Pascal Hakim <pasc@(debian.org|redellipse.net)>.
+.PP
+For Fedora maintained by Marcela Mašláňová <mmaslano@redhat.com>.