Re: Task Scheduler IGNORES duration

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




<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.


.



Relevant Pages

  • Re: Need a real answer...scheduled tasks
    ... >>Perhaps the previous task is still running when you're trying to launch ... You could easily see this in the Task Scheduler itself. ... Options of the Task Scheduler to vary the service account to be ...
    (microsoft.public.windows.server.general)
  • Re: REPOST: partially completed tasks with a deadline acting str
    ... He Jim ... When you enter the taks as 60% complete, you do not mean 'duration of the task' completed for 60%, you mean 'the ammount of work' has been completed for 30%. ... "You may have found a bug. ... You can set task constraints on the ...
    (microsoft.public.project)
  • Re: Scheduling within a day
    ... About the dates of Gantt Chart,, you obviously asked Project to calculate in ... Not a bug, ... A recurring task is a summary task and as such has a duration spanning from ... > chart showing 2005 when I'm entering 2004 tasks; ...
    (microsoft.public.project)
  • Re: Issue remaining work moved the planning
    ... I have a task with an estimate duration, I just know I want to assign some ... One resource has 16 work planified on the week. ... The resource saves and submits the timesheet, ... It's like a bug and maybe Microsoft Project is not the good tool to use. ...
    (microsoft.public.project)
  • Use of spinlock after free with CFQ scheduler
    ... While developing a block device driver, we stumbled upon the kernel ... According to the mail and your answer, it seems that the CFQ scheduler ... provided patch correctly fixes the bug. ... To me, the bug seems to be in the CFQ scheduler itself, isn't it? ...
    (Linux-Kernel)