[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "waitdate" patch

From: Martin Pala
Subject: Re: "waitdate" patch
Date: Wed, 22 Sep 2010 23:26:29 +0200

Thanks for patch Rory. I can see the use case on your side, i think however 
that it is very special one-of case - to keep the syntax simple, i prefer not 
to integrate it to main source code branch. We will add it to the contrib 
directory though, so if there will be need for it, the user can patch monit 
source code and use it.

Best regards,

On Sep 22, 2010, at 10:23 PM, rory wrote:

> This adds a directive to "check process" called "waitdate" and takes as an 
> argument the integer number of seconds since the epoch.
> Services flagged with waitdate will be skipped on the validate pass until the 
> date is equal or greater than this value.
> Q: Why is this useful?
> A: I have monit deployed on an embedded ARM device, which has no RTC. Thus, 
> every time it boots the time is reset back to the epoch. There are
> processes on the box that will not run correctly if either the time is that 
> old, or the time suddenly jumps forward many years, so there is no reason
> to start these until the time is set.
> Thus, this patch is likely more useful to embedded applications than a 
> general server application.
> <monit-patch.txt>--
> To unsubscribe:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]