diff --git a/crontabs.spec b/crontabs.spec index 0ec0faa..0ffc9b0 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: 19%{?dist} +Release: 20%{?dist} License: Public Domain and GPLv2 Group: System Environment/Base Source0: crontab @@ -50,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) /etc/sysconfig/crontab %changelog +* Fri Apr 4 2008 Marcela Maslanova 1.10-20 +- 440410 log pid of process instead of logger's pid + * Mon Oct 22 2007 Marcela Maslanova 1.10-19 - run-parts log also end of each job (patch from J. Kamens) - Resolves: rhbz#303081 diff --git a/run-parts b/run-parts index 98812da..d50a78f 100755 --- a/run-parts +++ b/run-parts @@ -26,7 +26,7 @@ for i in $1/*[^~,] ; do [ "${i%,v}" != "${i}" ] && continue if [ -x $i ]; then - logger -i -p cron.notice -t "run-parts($1)" "starting $(basename $i)" + logger -p cron.notice -t "run-parts($1)[$$]" "starting $(basename $i)" $i 2>&1 | awk -v "progname=$i" \ 'progname { print progname ":\n"