- remove scripts for delay, anacron now own most of the scripts. Crontabs

owns only run-parts, /etc/crontab and crontabs sysconfig.
This commit is contained in:
Marcela Mašláňová 2008-05-28 14:00:16 +00:00
parent cbf674b035
commit aec1badd11
4 changed files with 7 additions and 20 deletions

View File

@ -1,2 +1 @@
000-delay.cron
config config

View File

@ -5,6 +5,3 @@ HOME=/
# run-parts # run-parts
01 * * * * root run-parts /etc/cron.hourly 01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

View File

@ -1,13 +1,12 @@
Summary: Root crontab files used to schedule the execution of programs Summary: Root crontab files used to schedule the execution of programs
Name: crontabs Name: crontabs
Version: 1.10 Version: 1.10
Release: 21%{?dist} Release: 22%{?dist}
License: Public Domain and GPLv2 License: Public Domain and GPLv2
Group: System Environment/Base Group: System Environment/Base
Source0: crontab Source0: crontab
Source1: run-parts Source1: run-parts
Source2: 000-delay.cron Source2: config
Source3: config
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -23,15 +22,11 @@ your system.
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/etc/cron.{hourly,daily,weekly,monthly}
mkdir -p $RPM_BUILD_ROOT/usr/bin mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/etc/sysconfig mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
cp -p %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/crontab cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/crontab
install -m644 $RPM_SOURCE_DIR/crontab $RPM_BUILD_ROOT/etc/crontab install -m644 $RPM_SOURCE_DIR/crontab $RPM_BUILD_ROOT/etc/crontab
install -m755 $RPM_SOURCE_DIR/run-parts $RPM_BUILD_ROOT/usr/bin/run-parts install -m755 $RPM_SOURCE_DIR/run-parts $RPM_BUILD_ROOT/usr/bin/run-parts
install -m755 $RPM_SOURCE_DIR/000-delay.cron $RPM_BUILD_ROOT/etc/cron.daily/000-delay.cron
ln -s ../cron.daily/000-delay.cron $RPM_BUILD_ROOT/etc/cron.weekly/000-delay.cron
ln -s ../cron.daily/000-delay.cron $RPM_BUILD_ROOT/etc/cron.monthly/000-delay.cron
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -40,16 +35,13 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-) %defattr(-,root,root,-)
%config(noreplace) /etc/crontab %config(noreplace) /etc/crontab
%{_bindir}/run-parts %{_bindir}/run-parts
%dir /etc/cron.hourly
%dir /etc/cron.daily
%dir /etc/cron.weekly
%dir /etc/cron.monthly
%dir /etc/cron.daily/000-delay.cron
%dir /etc/cron.weekly/000-delay.cron
%dir /etc/cron.monthly/000-delay.cron
%config(noreplace) /etc/sysconfig/crontab %config(noreplace) /etc/sysconfig/crontab
%changelog %changelog
* Wed May 28 2008 Marcela Maslanova <mmaslano@redhat.com> 1.10-22
- remove scripts for delay, anacron now own most of the scripts.
Crontabs owns only run-parts, /etc/crontab and crontabs sysconfig.
* Mon May 5 2008 Marcela Maslanova <mmaslano@redhat.com> 1.10-21 * Mon May 5 2008 Marcela Maslanova <mmaslano@redhat.com> 1.10-21
- 445079 delay script failed in case DELAY is zero - 445079 delay script failed in case DELAY is zero

View File

@ -1,2 +1 @@
ba1e7d606a110d281c16d9d49c6f335d config ba1e7d606a110d281c16d9d49c6f335d config
159145e4bdd9f0fc6efaf040cba3480c 000-delay.cron