- 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:
parent
cbf674b035
commit
aec1badd11
@ -1,2 +1 @@
|
||||
000-delay.cron
|
||||
config
|
||||
|
3
crontab
3
crontab
@ -5,6 +5,3 @@ HOME=/
|
||||
|
||||
# run-parts
|
||||
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
|
||||
|
@ -1,13 +1,12 @@
|
||||
Summary: Root crontab files used to schedule the execution of programs
|
||||
Name: crontabs
|
||||
Version: 1.10
|
||||
Release: 21%{?dist}
|
||||
Release: 22%{?dist}
|
||||
License: Public Domain and GPLv2
|
||||
Group: System Environment/Base
|
||||
Source0: crontab
|
||||
Source1: run-parts
|
||||
Source2: 000-delay.cron
|
||||
Source3: config
|
||||
Source2: config
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
@ -23,15 +22,11 @@ your system.
|
||||
|
||||
%install
|
||||
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/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 -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
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -40,16 +35,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root,-)
|
||||
%config(noreplace) /etc/crontab
|
||||
%{_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
|
||||
|
||||
%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
|
||||
- 445079 delay script failed in case DELAY is zero
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user