Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
127aba740a dist-git conversion 2010-07-28 12:19:30 +00:00
Marcela Mašláňová
d68e726e03 - fix the update, because anacron hasn't here lock cron.daily
- use better configuration
2007-08-30 12:41:37 +00:00
Marcela Mašláňová
93203a7d41 Update - config file for jobs delay. 2007-08-27 06:52:58 +00:00
Bill Nottingham
bb17885643 Initialize branch F-7 for crontabs 2007-05-18 03:26:12 +00:00
5 changed files with 18 additions and 13 deletions

View file

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

View file

@ -1,6 +0,0 @@
# Makefile for source rpm: crontabs
# $Id$
NAME := crontabs
SPECFILE = $(firstword $(wildcard *.spec))
include ../common/Makefile.common

View file

@ -1,12 +1,13 @@
Summary: Root crontab files used to schedule the execution of programs
Name: crontabs
Version: 1.10
Release: 14%{?dist}
License: Public Domain
Release: 16%{?dist}
License: Public Domain and GPLv2
Group: System Environment/Base
Source0: crontab
Source1: run-parts
Source2: 000-delay.cron
Source3: config
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -24,7 +25,8 @@ your system.
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
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
@ -35,9 +37,9 @@ ln -s ../cron.daily/000-delay.cron $RPM_BUILD_ROOT/etc/cron.monthly/000-delay.cr
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%defattr(-,root,root,-)
%config(noreplace) /etc/crontab
/usr/bin/run-parts
%{_bindir}/run-parts
%dir /etc/cron.hourly
%dir /etc/cron.daily
%dir /etc/cron.weekly
@ -45,8 +47,16 @@ rm -rf $RPM_BUILD_ROOT
%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
* Thu Aug 30 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-16
- fix the update, because anacron hasn't here lock cron.daily
- use better configuration
* Mon Aug 27 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-15
- delay of running jobs is now configurable
* Tue Feb 27 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-14
- review again

View file

@ -1,5 +1,4 @@
#!/bin/bash
# run-parts - concept taken from Debian
# keep going when something fails

View file

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