[hobbit] How do you define days with "TIME" in the hobbit-alerts.cfg?

R. Leyton richard at leyton.org
Tue Jul 25 21:00:37 CEST 2006


Hi James,

You probably want to look at the bb-hosts(5) man page (specifically  
the NKTIME section).

>   day-of-week: W means Mon-Fri ("weekdays"), * means all  days,  0
>               ..  6  = Sunday .. Saturday.  Listing multiple days  
> is possible,
>               e.g. "60" is valid meaning "Saturday and Sunday".

ie. you're probably after a specification such as:

TIME=W:0700:0000

Hope that helps,

regards,

Richard

--
Richard Leyton - richard at leyton.org
http://www.leyton.org




On 25 Jul 2006, at 19:51, Gearing, James wrote:

>
>
> Hi all,
>
> I'm trying to setup my pager to alert me Monday - Friday, 7:00 -  
> 24:00.
> I understand how to set the hours, but how do you set the days? All  
> the
> examples I have seen with days in them, only list one day or *. To do
> multiple days, do you use "," between the days? Can you use a range
> character? I have also seen Wednesday listed as W or 3 in the  
> examples,
> will either work?
>
> TIME=1,2,3,4,5:700:2400 <---is that right?
>
> Thanks,
> James
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>




More information about the Xymon mailing list