In message <[email protected]>,
Gabriele Giorelli writes:
>I want SEC to notify me directly after executing it whether there are
>matching patterns or not. The notification should be on stderr.
>
>What action should be used?
You are going to need two rules one that matches the input and one
that does not match the input. I don't think the write action can
write to stderr so a shellcmd that runs 'echo .... >&2' will have to
be used.
>also, if I use -detach, the perl script will stay in background while I want
>it to stop after executing the script. If I do not use -detach, the script
>will hang waiting for patterns.
Right it's meant to be run as a daemon.
>Is there an option to use so that SEC is executed, checks for patterns and
>then dies?
Look in the man page for notail.
--
-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users