windows task manager

Posted on 2013-01-18
Last Modified: 2013-02-05
I have a task the repeats every 15 minutes. But if the script that I am running determines that for the rest of the 12 hour period there will be nothing to do, Can I make some sort of API call and expire the task for today ?   Not delete the task; I want it to start again in the morning running every 15 mins.

Question by:sidwelle
  • 3
  • 2
LVL 13

Accepted Solution

Gabriel Clifton earned 500 total points
ID: 38794419
Instead of having it "pause" the scheduled task for rest of the day, why don't you have the script run once a day, check for certain conditions and if met run if not pause for x minutes then rerun.

Author Comment

ID: 38794611
That's option B, I was under the impression that Tasks could be altered with an API.
LVL 13

Expert Comment

by:Gabriel Clifton
ID: 38794900
not sure of anything other net stop schedule

Author Comment

ID: 38795662
I might be leaning toward the first option because I am finding that the schedule even though it is set to run the app for 12 hours after the kickoff time, just continues to run it continuously.  What’s up with that ??

Author Closing Comment

ID: 38857789
Thanks for the help.

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now