Re: stopping multilog
richard lucassen <[email protected]> Sun, 28 Sep 2008 22:17:42 +0200
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Organization | XAQ Systems |
| Message-ID | <[email protected]> |
On Sat, 27 Sep 2008 18:45:47 -0400 [email protected] (Paul Jarc) wrote: > richard lucassen <[email protected]> wrote: > > I run a process which writes data through multilog. Each 5 minutes, > > I need to process the collected data and start with a new "current" > > sending an ALARM signal to the multilog process. > > Let multilog run your processor when it rotates the log file. Look at > the description of "!processor" at the end: > http://cr.yp.to/daemontools/multilog.html I had a closer look at the '!processor' statement and after some googling I found out that this is the thing I need. This is a very beautiful option indeed and this way I'm able to run the processor when "current" has reached its limits or through a cronjob which sends an ALARM to the log process. Also thnx to Daryl. It works like a charm now :) R. -- ___________________________________________________________________ It is better to remain silent and be thought a fool, than to speak aloud and remove all doubt. +------------------------------------------------------------------+ | Richard Lucassen, Utrecht | | Public key and email address: | | http://www.lucassen.org/mail-pubkey.html | +------------------------------------------------------------------+