<div dir="ltr">@Paul/Mike,<div><br></div><div>Top notch.  I decided to put the entire delay value in the string to prevent a syntax error if it's blank.  In our case, we check a few times from noon until 6PM, so I chose 20 hours.</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="courier new, monospace"># Delay for Xymon to prevent purple<br></font><font face="courier new, monospace">DELAY="+20h";</font><font face="courier new, monospace"><br></font><font face="courier new, monospace"># Friday, add two more days<br></font><font face="courier new, monospace">if [[ $(date +%u) == 5 ]] ; then<br></font><font face="courier new, monospace">   DELAY="+68h";<br></font><font face="courier new, monospace">fi</font><font face="courier new, monospace"><br></font><font face="courier new, monospace"># [...]</font><font face="courier new, monospace"><br></font><font face="courier new, monospace">xymon 127.0.0.1 "status${DELAY} $server.$service $color $msg"</font></blockquote><div><br></div></div><div>P.S. I don't know how we ever survived on a Windows platform.  This product was meant for Linux and it's tremendously useful scripting capabilities. :)</div><div><br></div><div>Thanks again.</div><div><br></div><div>-Tres</div><div><br></div></div>