Re: Task Scheduler IGNORES duration
- From: "Pegasus \(MVP\)" <I.can@xxxxxxxxxx>
- Date: Thu, 10 Jul 2008 13:58:04 +0200
<createwindow@xxxxxxxxx> wrote in message
news:c73e2125-378f-4846-aa4b-608c30989056@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OK, I have a sched. task in Windows Server 2008 64 Bit RTM Enterprise,
that fires (sorry, I mean sexy new term "Triggers") on second Thursday
of every month, then repeats every hour. However, although I ask it to
stop after 6 hours,it keeps going & going up to 8 hours now and
counting!!!!!!
I am seeing posts on this in Vista groups also (no surprises there -
same kernel). So, can MS admit this is a bug and advise when this will
be dealt with please?
Oh the pain, the pain. (Dr. Smith)
Thanks.
In view of the very large number of Windows installations it is a risky
step to declare this behaviour a "bug" and demand from Microsoft to
admit it and fix it. It is far more likely that the issue is due to a lack
of
understanding. To keep the egg away from one's face it would be more
prudent to ask "why" the Task Scheduler behaves like this.
The simple explanation is: The "Duration" parameter does NOT
control the time a scheduled task is allowed to run. It defines the
number of hours during which repetitive tasks are launched. If you
specify a task to run once every hour, starting at 6 am with a duration
of 5 hours, then the task will be launched at 6, 7, 8, 9 and 10 am,
and perhaps at 11am (I'm not sure). This is exactly as designed,
hence no bug and no fixing required.
You need to launch a separate task to kill a scheduled process
that takes more time to finish than expected.
.
- Follow-Ups:
- Re: Task Scheduler IGNORES duration
- From: createwindow
- Re: Task Scheduler IGNORES duration
- References:
- Task Scheduler IGNORES duration
- From: createwindow
- Task Scheduler IGNORES duration
- Prev by Date: Re: How big can a partition be on Windows 2003?
- Next by Date: Increasing broadband bandwidth
- Previous by thread: Task Scheduler IGNORES duration
- Next by thread: Re: Task Scheduler IGNORES duration
- Index(es):
Relevant Pages
|