help-cfengine
[Top][All Lists]
Advanced

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

Re: Correct way of thinking for time classes


From: Roger Southwick
Subject: Re: Correct way of thinking for time classes
Date: Sun, 2 Dec 2001 17:51:01 -0800 (PST)

> Hello All,
> 
> Let's say I have:
> 
> 
> action:
> 
>       Hr00.Min10_15::
>               Command
> 
> and I have cron run cfexecd every hour, five minutes into the hour,
> can I assume that this will never run since it's for Min10_15?
> 
> Do I have to put in a range that I know cfengine will run within? What
> if it starts and spends 55 minutes on a catman command, do I need to
> compensate for that delay or will tasks run in parallel?
> 
> --Buddy

The time is "captured" at the start of the run for time classes, so your
statement will not run.

So, if you start it at 5 after, use Min05_10.  If you started at 7 after,
the same range works.  

No need to "compensate for delay", and tasks do not run in parallel.

        -r-




reply via email to

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