Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc Fix skipped daily in Eastern Europe



details:   https://anonhg.NetBSD.org/src/rev/0ec4a7366483
branches:  trunk
changeset: 850217:0ec4a7366483
user:      kim <kim%NetBSD.org@localhost>
date:      Sun Mar 29 06:44:16 2020 +0000

description:
Fix skipped daily in Eastern Europe

- Move /etc/daily from 03:15 -> 04:15
- Move /etc/weekly from 04:30 -> 05:30 (to keep the spacing)

This should prevent problems during daylight savings changeover (which
is usually between 01:00 -> 04:00, depending upon the region) where the
cronjobs may be executed twice, or never at all...

This expands on the previous fix in revision 1.13 from 1997.

diffstat:

 etc/crontab |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r f7c0fff7c19d -r 0ec4a7366483 etc/crontab
--- a/etc/crontab       Sat Mar 28 20:13:13 2020 +0000
+++ b/etc/crontab       Sun Mar 29 06:44:16 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: crontab,v 1.15 2002/11/27 15:09:17 perry Exp $
+#      $NetBSD: crontab,v 1.16 2020/03/29 06:44:16 kim Exp $
 #
 # /var/cron/tabs/root - root's crontab for NetBSD
 #
@@ -15,6 +15,6 @@
 0      *       *       *       *       /usr/bin/newsyslog
 #
 # do daily/weekly/monthly maintenance
-15     3       *       *       *       /bin/sh /etc/daily 2>&1 | tee /var/log/daily.out | sendmail -t
-30     4       *       *       6       /bin/sh /etc/weekly 2>&1 | tee /var/log/weekly.out | sendmail -t
+15     4       *       *       *       /bin/sh /etc/daily 2>&1 | tee /var/log/daily.out | sendmail -t
+30     5       *       *       6       /bin/sh /etc/weekly 2>&1 | tee /var/log/weekly.out | sendmail -t
 #30    5       1       *       *       /bin/sh /etc/monthly 2>&1 | tee /var/log/monthly.out | sendmail -t



Home | Main Index | Thread Index | Old Index