And at 18:30 every weekday that'll go purple...<div><br></div><div>It would be better to add code to the top of the script to check the date/time and to send an automatic green (or perhaps blue) status whenever the date/time falls outside the times you want to watch.</div>
<div><br></div><div>Ralph Mitchell</div><div><br><br><div class="gmail_quote">On Mon, May 23, 2011 at 10:13 AM, Phil Meech <span dir="ltr"><<a href="mailto:pmeech@gmail.com">pmeech@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Jayanta,<br>
<br>
Create a cron job as follows:<br>
<br>
*/15     9-18     *     *     *         $PATH_TO_BBCMD $PATH_TO_YOUR_SCRIPT<br>
<br>
Optionally if business hours were only Monday to Friday the last<br>
asterix would be replaced by 1-5.<br>
<font color="#888888"><br>
Phil<br>
</font><div><div></div><div class="h5"><br>
On 23 May 2011 15:02, Jayanta Kundu <<a href="mailto:jayantak007@gmail.com">jayantak007@gmail.com</a>> wrote:<br>
> Hi All,<br>
><br>
> I am using Xymon 4.2.3.<br>
> Could anyone please let me know how can I write a sample script in<br>
> Client side which should execute every 15 minutes on business<br>
> hours(9:00 am to 6 pm) every day.<br>
><br>
> With Thanks & Regards,<br>
> Jayanta.<br>
><br>
> On Sun, May 22, 2011 at 6:55 PM, Henrik Størner <<a href="mailto:henrik@hswn.dk">henrik@hswn.dk</a>> wrote:<br>
>>> I am using Xymon 4.2.3.<br>
>>> I didn't found any file named "tasks.cfg" file in client side.<br>
>><br>
>> Then you'll have to run the script via your system 'cron' utility.<br>
>><br>
>><br>
>> Regards,<br>
>> Henrik<br>
>><br>
> _______________________________________________<br>
> Xymon mailing list<br>
> <a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
> <a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
><br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</div></div></blockquote></div><br></div>