Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Task Scheduler repeat task duration bug?

Reply
Thread Tools Display Modes

Task Scheduler repeat task duration bug?

 
 
sm02463
Guest
Posts: n/a

 
      12-01-2007
I have a task that I want run daily, starting at 10am and repeat every 15
minutes for 6 hours. So that's exactly how I enter it in the Trigger page.
The problem is the task runs every 15 minutes and continues to run around
the clock. I don't understand it. I had no problem setting this task up in
XP...
 
Reply With Quote
 
 
 
 
Ruud Stam
Guest
Posts: n/a

 
      12-05-2007
I'm having the same problem here!! task starting every weekday, from 8:00
repeating every hour for 10 hours (stockquotes )
And it keeps on going all nite long....

HELP please

Ruud

"sm02463" wrote:

> I have a task that I want run daily, starting at 10am and repeat every 15
> minutes for 6 hours. So that's exactly how I enter it in the Trigger page.
> The problem is the task runs every 15 minutes and continues to run around
> the clock. I don't understand it. I had no problem setting this task up in
> XP...

 
Reply With Quote
 
MurkMenthaa
Guest
Posts: n/a

 
      12-06-2008

Its not bug - just a change in feature.
Scheduler wont care at what time the task was "supposed" to start, bu
whenever the task does start, it'll repeat it every xx minutes for
duration of xx hrs from THAT instant - when the task did start
irrespective of its *actual* start time.

Try setting repeat every 1 minute for a duration of 5 minutes. And se
the starting time couple of hours earlier than current time and manuall
start the task - it'll repeat itself every next minutes four more time
- just as expected.

I had same trouble, then I saw this :
'[image
http://img140.imageshack.us/img140/2...redet6.th.png]
(http://img140.imageshack.us/img140/2...iggeredet6.png

--
MurkMenthaa
 
Reply With Quote
 
MurkMenthaa
Guest
Posts: n/a

 
      12-06-2008

I don't know if this is needed anymore, but heres a workaround :

Suppose I have to run a task every 15 minutes from 8am to 8pm
i'll set my clock to show time in *24-HRS HH:mm* format from regional
settings in control panel.

Then I'll make a bat file that checks whether current time is between
8:00 and 20:00 hrs and put my task command there as follows

@echo off
FOR /F "tokens=*" %%R IN ('time /T') DO SET time=%%R
set HR=%time:~0,2%
if %HR% geq *_8_* if %HR% leq *_19_* goto main
goto exit
:main

rem put your desired command(s) here
rem for eg to run calculator, :
calc.exe

:exit
rem program ends here

see that 8 and 19 are bold and undrlined because i want task to run
betweek 8 hrs and 20 hrs, so you can change those values accordingly.

I understand that OP may not be interested at all now, given it was
asked a year ago but i just googled and found so many other posts about
the same topic so I guess this might help someone.


--
MurkMenthaa
 
Reply With Quote
 
Dick D.
Guest
Posts: n/a

 
      12-06-2008
MurkMenthaa <> wrote:

>I don't know if this is needed anymore, but heres a workaround :


The fact that the post you have chosen to reply to is dated a YEAR AGO
is a certain clue, except to the clueless.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista Task Scheduler ignores duration D.P. Roberts Windows Vista General Discussion 3 12-06-2008 04:50 PM
Task scheduler returns an error : the task image is corrupt ortamp Jean-David Windows Vista Performance 2 05-03-2008 02:02 PM
Task Scheduler illegal duration error extreming Windows Vista General Discussion 0 10-12-2007 10:30 AM
task scheduler doesn't start delayed task wuschba Windows Vista General Discussion 6 07-26-2007 08:06 AM
Task Scheduler: Repeat Task and Duration kirsch59 Windows Vista General Discussion 6 07-11-2007 09:01 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59