[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
IfElapsed10?
From: |
Wheeler, John |
Subject: |
IfElapsed10? |
Date: |
Mon, 5 May 2003 13:01:30 -0500 |
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.
- IfElapsed10?,
Wheeler, John <=