rpms/crontabs/devel crontabs.spec,1.22,1.23 run-parts,1.6,1.7

Marcela Mašláňová (mmaslano) fedora-extras-commits at redhat.com
Mon Oct 22 08:32:39 UTC 2007


Author: mmaslano

Update of /cvs/pkgs/rpms/crontabs/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28843

Modified Files:
	crontabs.spec run-parts 
Log Message:
run-parts log also end of each job



Index: crontabs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/crontabs/devel/crontabs.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- crontabs.spec	25 Sep 2007 08:33:58 -0000	1.22
+++ crontabs.spec	22 Oct 2007 08:32:05 -0000	1.23
@@ -1,7 +1,7 @@
 Summary: Root crontab files used to schedule the execution of programs
 Name: crontabs
 Version: 1.10
-Release: 18%{?dist}
+Release: 19%{?dist}
 License: Public Domain and GPLv2
 Group: System Environment/Base
 Source0: crontab
@@ -50,6 +50,10 @@
 %config(noreplace) /etc/sysconfig/crontab
 
 %changelog
+* Mon Oct 22 2007 Marcela Maslanova <mmaslano at redhat.com> 1.10-19
+- run-parts log also end of each job (patch from J. Kamens)
+- Resolves: rhbz#303081
+
 * Tue Sep 25 2007 Marcela Maslanova <mmaslano at redhat.com> 1.10-18
 - cron.{hourly, daily,...} run ok
 - rhbz#296741


Index: run-parts
===================================================================
RCS file: /cvs/pkgs/rpms/crontabs/devel/run-parts,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- run-parts	25 Sep 2007 08:33:58 -0000	1.6
+++ run-parts	22 Oct 2007 08:32:05 -0000	1.7
@@ -26,12 +26,14 @@
 	[ "${i%,v}" != "${i}" ] && continue
 
 	if [ -x $i ]; then
+		logger -i -p cron.notice -t "run-parts($1)" "starting $(basename $i)"
 		$i 2>&1 | awk -v "progname=$i" \
 			      'progname {
 				   print progname ":\n"
 				   progname="";
 			       }
 			       { print; }'
+		logger -i -p cron.notice -t "run-parts($1)" "finished $(basename $i)"
 	fi
 done
 




More information about the fedora-extras-commits mailing list