forked from pool/cronie
da8a361d14
- changed run-parts to run-crons in anacron (bnc#689494) - mention possibility of disabling logging to syslog in the crontab OBS-URL: https://build.opensuse.org/request/show/76038 OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=84
32 lines
1.4 KiB
Diff
32 lines
1.4 KiB
Diff
Index: cronie-1.4.7/contrib/anacrontab
|
|
===================================================================
|
|
--- cronie-1.4.7.orig/contrib/anacrontab
|
|
+++ cronie-1.4.7/contrib/anacrontab
|
|
@@ -11,6 +11,6 @@ RANDOM_DELAY=45
|
|
START_HOURS_RANGE=3-22
|
|
|
|
#period in days delay in minutes job-identifier command
|
|
-1 5 cron.daily nice run-parts /etc/cron.daily
|
|
-7 25 cron.weekly nice run-parts /etc/cron.weekly
|
|
-@monthly 45 cron.monthly nice run-parts /etc/cron.monthly
|
|
+1 5 cron.daily nice /usr/lib/cron/run-crons /etc/cron.daily
|
|
+7 25 cron.weekly nice /usr/lib/cron/run-crons /etc/cron.weekly
|
|
+@monthly 45 cron.monthly nice /usr/lib/cron/run-crons /etc/cron.monthly
|
|
Index: cronie-1.4.7/man/anacrontab.5
|
|
===================================================================
|
|
--- cronie-1.4.7.orig/man/anacrontab.5
|
|
+++ cronie-1.4.7/man/anacrontab.5
|
|
@@ -79,9 +79,9 @@ RANDOM_DELAY=30
|
|
# Anacron jobs will start between 6am and 8am.
|
|
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 0 cron.weekly nice run-parts /etc/cron.weekly
|
|
-@monthly 0 cron.monthly nice run-parts /etc/cron.monthly
|
|
+1 5 cron.daily nice /usr/lib/cron/run-crons /etc/cron.daily
|
|
+7 0 cron.weekly nice /usr/lib/cron/run-crons /etc/cron.weekly
|
|
+@monthly 0 cron.monthly nice /usr/lib/cron/run-crons /etc/cron.monthly
|
|
.fi
|
|
.SH "SEE ALSO"
|
|
.BR anacron (8),
|