Warning: Declaration of action_plugin_authad::register(Doku_Event_Handler &$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/mh-wiki-zugschlus-de/dokuwiki/dokuwiki/lib/plugins/authad/action.php on line 0

Warning: Cannot modify header information - headers already sent by (output started at /home/mh-wiki-zugschlus-de/dokuwiki/dokuwiki/lib/plugins/authad/action.php:0) in /home/mh-wiki-zugschlus-de/dokuwiki/dokuwiki/inc/auth.php on line 542

Warning: Cannot modify header information - headers already sent by (output started at /home/mh-wiki-zugschlus-de/dokuwiki/dokuwiki/lib/plugins/authad/action.php:0) in /home/mh-wiki-zugschlus-de/dokuwiki/dokuwiki/inc/actions.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/mh-wiki-zugschlus-de/dokuwiki/dokuwiki/lib/plugins/authad/action.php:0) in /home/mh-wiki-zugschlus-de/dokuwiki/dokuwiki/lib/tpl/dokuwiki/main.php on line 12
wishlistcronjoboutput [DokuWiki]

User Tools

Site Tools


wishlistcronjoboutput

Wishlist for a cronjob output processor

See also my blog.

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

You can implement these features using the cron-variable “MAILTO=post-processing” and an mail-alias, which is implemented like “cron-postprocessing |/my/post/processing/script”.

– Joerg Hoh

wishlistcronjoboutput.txt · Last modified: Y/m/d H:i (external edit)