View Single Post
Old 07-01-2007   #3 (permalink)
kirsch59


 
 

Re: Task Scheduler: Repeat Task and Duration

The task calls a .bat program that has the following command:

shutdown -s -t 60 -c "Save data and close programs. PC shutting down in 60
seconds."

I replaced the shutdown command with a simple ECHO command to debug the
problem. The problem still persists.

The shutdown and echo commands work fine. The problem is the task repeats
more frequently then 1 minute and the duration is beyond 8 hours.

I'm wondering if I cannot override Microsoft's listbox selections for the
repeat times and duration times.



"Ronnie Vernon MVP" wrote:

> Kirsch59
>
> What is the task, how long does it take to run the task, what files are
> called to run the task? It sounds like the duration of the task is taking
> longer than the 1 minute schedule?
>
> --
>
> Ronnie Vernon
> Microsoft MVP
> Windows Shell/User
>
>
> "kirsch59" <kirsch59@discussions.microsoft.com> wrote in message
> news:6FA65D4A-440F-4E2A-8E55-D5486759BBD2@microsoft.com...
> >I would like to repeat a task every 1 minute for a duration of 8 hours.
> > 1 minute and 8 hours are not options in the list box. When I overwrite
> > the
> > repeat value to 1 minute and the duration to 8 hours the task starts all
> > the
> > time and does not stop.
> >
> > Any work arounds? I was able to change the repeat and duration under XP.
> >
> > Thanks

>

My System SpecsSystem Spec