Minor timeperiods question.

jeff vier boinger at tradingtechnologies.com
Thu May 11 22:52:03 CEST 2006


On Thu, 2006-05-11 at 16:46 -0400, James E. Pratt wrote:
> The first one - 24:00 is midnight. (00:01 is 12:01am etc etc)

Right, but isn't "00:00" the same thing as "24:00"?

> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeff vier
> Sent: Thursday, May 11, 2006 4:41 PM
> To: nagios-users
> Subject: [Nagios-users] Minor timeperiods question.
> 
> The question is the midnight minute.
> 
> Which is correct?
> 
> define timeperiod {
>     timeperiod_name thirdshift
>     alias       Third Shift
>     sunday      23:00-24:00
>     monday      00:00-08:00,23:00-24:00
>     tuesday     00:00-08:00,23:00-24:00
>     wednesday   00:00-08:00,23:00-24:00
>     thursday    00:00-08:00,23:00-24:00
>     friday      00:00-08:00
>     }
> 
> 
> OR
> 
> define timeperiod {
>     timeperiod_name thirdshift
>     alias       Third Shift
>     sunday      23:00-23:59
>     monday      00:00-08:00,23:00-23:59
>     tuesday     00:00-08:00,23:00-23:59
>     wednesday   00:00-08:00,23:00-23:59
>     thursday    00:00-08:00,23:00-23:59
>     friday      00:00-08:00
>     }
> 
> 
> Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060511/d56c7e22/attachment.sig>


More information about the Users mailing list