Bug 303081 - run-parts should log the start and end of each job
run-parts should log the start and end of each job
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: crontabs (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Marcela Mašláňová
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-24 10:02 EDT by Jonathan Kamens
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-10-22 04:34:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch to add logging to run-parts (460 bytes, patch)
2007-09-24 10:02 EDT, Jonathan Kamens
no flags Details | Diff

  None (edit)
Description Jonathan Kamens 2007-09-24 10:02:36 EDT
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 10:02:36 EDT
Created attachment 204141 [details]
patch to add logging to run-parts
Comment 2 Marcela Mašláňová 2007-10-18 08:35:26 EDT
Nice. I'm testing it and I want push it to next devel.

Note You need to log in before you can comment on or make changes to this bug.