Bug 135619 - run-crons should create a syslog message for all cron jobs, not only if falied
Summary: run-crons should create a syslog message for all cron jobs, not only if falied
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Alpha 3
Hardware: All Linux
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Mads Martin Joergensen
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-27 21:55 UTC by Joerg Steffens
Modified: 2006-01-16 11:02 UTC (History)
0 users

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
ability to create syslog messages for all scripts (1.03 KB, patch)
2005-11-27 21:58 UTC, Joerg Steffens
Details | Diff
settings for the run-cron script (390 bytes, text/plain)
2005-11-27 22:00 UTC, Joerg Steffens
Details
diff to the spec file (1.66 KB, patch)
2005-11-27 22:01 UTC, Joerg Steffens
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Steffens 2005-11-27 21:55:40 UTC
currently the run-crons script (cron.{hourly,daily,weekly,monthly}) only generates a syslog message if a script has failed. Some customers prefer to have a syslog message for all cron scripts, even if successful.
Comment 1 Joerg Steffens 2005-11-27 21:58:49 UTC
Created attachment 58794 [details]
ability to create syslog messages for all scripts

improvement for run-crons:
uses sysconfig/cron for configure
if successful scripts also create a syslog message and/or a status email
Comment 2 Joerg Steffens 2005-11-27 22:00:25 UTC
Created attachment 58795 [details]
settings for the run-cron script

settings for run-crons.
With these settings, run-cron should behave in the same way as before
SEND_MAIL_ON_NO_ERROR=no
SYSLOG_ON_NO_ERROR=no
Comment 3 Joerg Steffens 2005-11-27 22:01:24 UTC
Created attachment 58796 [details]
diff to the spec file

diff to cron spec file, to use sysconfig fillup
Comment 4 Mads Martin Joergensen 2006-01-16 11:02:32 UTC
Thanks for the patches, cron now has til capability