help-cfengine
[Top][All Lists]
Advanced

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

RE: IfElapsed10?


From: Wheeler, John
Subject: RE: IfElapsed10?
Date: Mon, 12 May 2003 16:33:20 -0500

Does anyone else use IfElapsed in the action sequence on 2.0.6 solaris?
Does anyone else have this problem?

> -----Original Message-----
> From: Wheeler, John
> Sent: Monday, May 05, 2003 1:02 PM
> To: 'help-cfengine@gnu.org'
> Subject: IfElapsed10?
> 
> Am  I using this wrong?
> 
> 
> control:
>         actionsequence = (
>                         shellcommands.IfElapsed10.cessnastuff
>                         )
> 
> shellcommands:
>         cessnastuff::
>                 '/bin/echo "executing cessnastuff $(date)"'
> 
> 
> 
> Main Tree Sched: shellcommands.IfElapsed10.cessnastuff pass 1 @ Mon
May  5
> 12:46:40 2003
> *********************************************************************
>                   IfElapsed time: 10 minutes
>                   New temporary class additions
>                   --------( Pass 1 )-------
>                              cessnastuff
> cfengine:cessna: Executing script /bin/echo "executing cessnastuff
> Mon_May__5_12:46:37_2003"...(timeout=0,uid=-1,gid=-1)
> (Setting umask to 77)
> cfengine:cessna:/bin/echo "exec: executing cessnastuff
> Mon_May__5_12:46:37_2003
> cfengine:cessna: Finished script /bin/echo "executing cessnastuff
> Mon_May__5_12:46:37_2003"
> Job start time set to Mon May  5 12:46:40 2003
> 
> 
> +++++++++++++NEXT SCHEDULE
RUN++++++++++++++++++++++++++++++++++++++++++++
> 
> Main Tree Sched: shellcommands.IfElapsed10.cessnastuff pass 1 @ Mon
May  5
> 12:40:25 2003
> *********************************************************************
>                   IfElapsed time: 10 minutes
>                   New temporary class additions
>                   --------( Pass 1 )-------
>                              cessnastuff
> cfengine:cessna: Executing script /bin/echo "executing cessnastuff
> Mon_May__5_12:40:21_2003"...(timeout=0,uid=-1,gid=-1)
> (Setting umask to 77)
> cfengine:cessna:/bin/echo "exec: executing cessnastuff
> Mon_May__5_12:40:21_2003
> cfengine:cessna: Finished script /bin/echo "executing cessnastuff
> Mon_May__5_12:40:21_2003"
> Job start time set to Mon May  5 12:40:25 2003
> 
> 
> The schedule if more frequent than 10 min so it should see a valid
lock
> and fail to execute the command before the "IfElapse" value of 10 min.





reply via email to

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