From 41a79e2e0d99b05c09759dbed25dad55e6b7e6cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Tue, 25 Sep 2007 08:33:58 +0000 Subject: [PATCH] Fix problem - cron.hourly, daily not running. --- crontabs.spec | 6 +++++- run-parts | 5 ----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/crontabs.spec b/crontabs.spec index 3c016ff..5e0bb83 100644 --- a/crontabs.spec +++ b/crontabs.spec @@ -1,7 +1,7 @@ Summary: Root crontab files used to schedule the execution of programs Name: crontabs Version: 1.10 -Release: 17%{?dist} +Release: 18%{?dist} License: Public Domain and GPLv2 Group: System Environment/Base Source0: crontab @@ -50,6 +50,10 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) /etc/sysconfig/crontab %changelog +* Tue Sep 25 2007 Marcela Maslanova 1.10-18 +- cron.{hourly, daily,...} run ok +- rhbz#296741 + * Thu Aug 30 2007 Marcela Maslanova 1.10-17 - better solution of configuration script diff --git a/run-parts b/run-parts index 31e336f..e321762 100755 --- a/run-parts +++ b/run-parts @@ -1,9 +1,4 @@ #!/bin/bash -# if cron.daily was run today -AUX1=`cat /var/spool/anacron/cron.daily` -AUX2=`date +%Y%m%d` -[ "$AUX1" == $AUX2 ] || exit 0 - # run-parts - concept taken from Debian # keep going when something fails