nv-l

Re: Executing a Ruleset at some hours

1998-06-03 17:06:01
Subject: Re: Executing a Ruleset at some hours
From: Tim Johnson <ttjohns AT IBM DOT NET>
To: nv-l AT lists.tivoli DOT com
Date: Wed, 3 Jun 1998 22:06:01 +0100
I guess you could call an inline action such as a shell script to get the
hour from the date command. Then exit passing the hour as the exit
parameter. In the condition check for the inline action you could check
whether the returned code was > 6 and less than 22.


At 21:37 03/06/1998 +0000, you wrote:
>Hi all:
>
>Does anybody tell us how could we put a time condition in a
>Ruleset Action.
>
>For Example. If the event that start the ruleset arrives beetween 6
>a.m. and 22 p.m, the action is a call with a pager. If it arrives
>beetween 22 p.m. and 6 a.m., the action is do nothing.
>
>Thanks for all.
>
>
>Luis Romero Huerta
>Michelin Spain Telecom Dept
>Phone +34 83 369034
>Fax +34 83 369034
>Email Romero-Huerta AT Michelin DOT com
>      koldor AT jet DOT es
>
>

<Prev in Thread] Current Thread [Next in Thread>