TIME syntax question
list Wes Neal
Trying to find the actual syntax for the TIME specification in alerts.cfg So something like TIME=*:1200:2100 only sends that alerts during that time, 7 days a week. I assume the * is for day of the week. So if you only wanted to send it Monday - Friday, what is the syntax for it? Is it like cron where I can put 1-5 in there like TIME=1-5:1200:2100 or am I totally off base? Thanks in advance.
list Jeremy Ruffer
You csn use W for weekdays. Jeremy On Fri, 2 Nov 2018 16:35 Neal, Jonathan W via Xymon <xymon at xymon.com wrote:
---------- Forwarded message ---------- From: "Neal, Jonathan W" <user-9e31f92d698c@xymon.invalid> To: xymon at xymon.com Cc: Bcc: Date: Fri, 2 Nov 2018 12:30:09 -0400 Subject: TIME syntax question
▸
Trying to find the actual syntax for the TIME specification in alerts.cfg
So something like TIME=*:1200:2100 only sends that alerts during that
time, 7 days a week. I assume the * is for day of the week. So if you
only wanted to send it Monday - Friday, what is the syntax for it? Is it
like cron where I can put 1-5 in there like TIME=1-5:1200:2100 or am I
totally off base?
Thanks in advance.
---------- Forwarded message ----------
From: "Neal, Jonathan W via Xymon" <xymon at xymon.com>
To: xymon at xymon.com
Cc:
Bcc:
Date: Fri, 2 Nov 2018 12:30:09 -0400
Subject: [Xymon] TIME syntax question
list Scott Birl
TIME=12345:1200:2100 -----Original Message----- From: Xymon <xymon-bounces at xymon.com> On Behalf Of Neal, Jonathan W via Xymon Sent: Friday, November 2, 2018 12:30 PM To: xymon at xymon.com Subject: [Xymon] TIME syntax question Trying to find the actual syntax for the TIME specification in alerts.cfg So something like TIME=*:1200:2100 only sends that alerts during that time, 7 days a week. I assume the * is for day of the week. So if you only wanted to send it Monday - Friday, what is the syntax for it? Is it like cron where I can put 1-5 in there like TIME=1-5:1200:2100 or am I totally off base? Thanks in advance.