Bug 303081

Summary: run-parts should log the start and end of each job
Product: [Fedora] Fedora Reporter: Jonathan Kamens <jik>
Component: crontabsAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-22 08:34:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
patch to add logging to run-parts none

Description Jonathan Kamens 2007-09-24 14:02:36 UTC
Many, many times, I've been debugging things happening on my machine where it 
would have been extremely helpful to know exactly when a specific job executed 
by run-parts had been running.  Alas, although cron or anacron logs when it 
starts run-parts, run-parts itself doesn't log when it starts and ends jobs.  
The attached patch fixes this.

(While we're on the topic, I think it's unfortunate that cron only logs when 
jobs start, not when they finish, but that's a topic for a different bug 
report).

Comment 1 Jonathan Kamens 2007-09-24 14:02:36 UTC
Created attachment 204141 [details]
patch to add logging to run-parts

Comment 2 Marcela Mašláňová 2007-10-18 12:35:26 UTC
Nice. I'm testing it and I want push it to next devel.