Versatile Post-Processing for cronjob's output
aba blogs about his wishes for post-processing of the output of cron jobs
Well, I have a wishlist as well (of course all items should be configurable):
- Save cronjob output to a file
- Append that output to log files on the system, after applying regexp filters
- Send E-Mail to a number configurable addresses
- Have a list of regexps that the output is filtered through before being included in the e-mail
- Allow the preceding operation to be done multiple times for a single mail, allowing to include different "verbosity levels" in a single message to have the admin decide which to read
- Allow certain parts of messages to be tacced (printed with line order reversed)
- Modify message subject if certain conditions are met (for including tags like [OK], [ALERT] etc)
- Allow arbitrary texts (preferably using macro expansion) in between message parts
This is only what immediately comes to my mind. I will keep this wishlist updated, and have a Wiki Page.
Comments
Display comments as Linear | Threaded
julian on :
Save cronjob output to a file - yes!
Append that output to log files on the system, after applying regexp filters - love it!
Send E-Mail to a number configurable addresses - i'm dancing!