summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2009-05-12 09:11:00 +0000
committerThilo Bangert <bangert@gentoo.org>2009-05-12 09:11:00 +0000
commit0db2d361548df02d6ea7a0d67a890cd27866d977 (patch)
tree11b660da93f24be249dfb23807d3d892230b379f /sys-process/cronie
parentEAPI2fy (diff)
downloadgentoo-2-0db2d361548df02d6ea7a0d67a890cd27866d977.tar.gz
gentoo-2-0db2d361548df02d6ea7a0d67a890cd27866d977.tar.bz2
gentoo-2-0db2d361548df02d6ea7a0d67a890cd27866d977.zip
reduce chance of race condition - bug #98189
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'sys-process/cronie')
-rw-r--r--sys-process/cronie/ChangeLog5
-rw-r--r--sys-process/cronie/files/cronie-1.2-crontab15
2 files changed, 10 insertions, 10 deletions
diff --git a/sys-process/cronie/ChangeLog b/sys-process/cronie/ChangeLog
index 65449e2b3c21..5bfb7df81d84 100644
--- a/sys-process/cronie/ChangeLog
+++ b/sys-process/cronie/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-process/cronie
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/ChangeLog,v 1.2 2009/05/12 08:27:27 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/ChangeLog,v 1.3 2009/05/12 09:11:00 bangert Exp $
+
+ 12 May 2009; Thilo Bangert <bangert@gentoo.org> files/cronie-1.2-crontab:
+ reduce chance of race condition - bug #98189
*cronie-1.3 (12 May 2009)
diff --git a/sys-process/cronie/files/cronie-1.2-crontab b/sys-process/cronie/files/cronie-1.2-crontab
index 8e18f4aed700..e714d9196587 100644
--- a/sys-process/cronie/files/cronie-1.2-crontab
+++ b/sys-process/cronie/files/cronie-1.2-crontab
@@ -1,8 +1,5 @@
-# for vixie cron
-#
-# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/files/cronie-1.2-crontab,v 1.1 2009/02/17 22:09:35 bangert Exp $
-#
-#
+# for cronie
+# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/files/cronie-1.2-crontab,v 1.2 2009/05/12 09:10:59 bangert Exp $
# Global variables
SHELL=/bin/bash
@@ -11,8 +8,8 @@ MAILTO=root
HOME=/
# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
-0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
-1 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily
-15 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
-30 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly
+59 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
+9 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily
+19 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
+29 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly
*/10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons