Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Repetitive Schedule Task needed to skip twice every hour

17 Feb 2014   #1
fhschmid

Windows 7 Enterprise x64
 
 
Repetitive Schedule Task needed to skip twice every hour

I want to create a scheduled task that runs a program every 5 minutes every day of the week, but I want it to skip every half hour.
I.E. if I start it at 12:06, the next time is 12:11, 12:15, 12:21, 12:26, (skip 12:31), 12:36, 12:41, 12:46, 12:51, 12:56, (skip 1:01), 1:06, and so on.

Is there a way to do this with one task or do I need to create 10 task and run them every hour?

Thanks for your help,

Fred


My System SpecsSystem Spec
.
17 Feb 2014   #2
MilesAhead

Windows 7 32 bit
 
 

You could do it with any scripting that allows you to launch other programs and has a timer or sleep function. For example in AutoIt3

Code:
Global $count = 0
Global $program = "notepad.exe" ; put complete path to your program here

While 1                         ;infinite loop
    For $x = 1 To 6
        $count += 1
        Sleep(60000 * 5) ; wait 5 minutes
        If $count = 6 Then
            $count = 0
            ExitLoop            ;skip 6th 5 minute cycle
        EndIf
        ShellExecute($program)
    Next
WEnd
If you need stuff like browse to exe file ask for help on General Help and Support - AutoIt Forums
My System SpecsSystem Spec
Reply

 Repetitive Schedule Task needed to skip twice every hour




Thread Tools




Similar help and support threads
Thread Forum
Task Schedule err msg: corrupted task image
I don't use Task Scheduler at all and I've seen this err msg before, so I've never bothered to clean that up. But now I want to do that. The err messages are many, each one popping up with a different task name. But eventually the long string of popups end. You have to click the OK button...
Software
Task Schedule not working
Hi, I have a bat file that i would like to run every day. I set up my task schedule using Create Basic Task and I am working from windows 7. For some reason my task will not run. When I go open my excel worksheet where data suppose to load, nothing is there. When I go to Task Schedule History,...
General Discussion
Windows 7 schedule Task
Hi, Currently having some problem on the schedule job task on windows 7. example script in my bat file as list below. so we schedule and it run only thing is it did not show the dos windows for us to reply message. kindly help. Thanks echo on said Hello pause.
General Discussion
24 hour skip function?
Is there a 24 hour skip or jump function in the guide? My Dish DVR has this ability & itís real handy to check the same program every day of the week. For example there may be a daily program but I only watch it when the topic interests me. I can check it Monday at 3pm & then just jump to Tues,...
Media Center
Schedule a task
I want the computer to execute the following line: mms://wamu-wm.streamguys.com/WAMU-1 at 7:00 am until 10 am Monday through Friday. Unconditionally. I have explored the task menus ad-nausium... and still it does not trigger. There are simply too many options to list them here to...
Customization


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 07:59.
Twitter Facebook Google+