Solved

Stopping scheduled tasks that run too long - Server 2008 vs. Server 2003

Posted on 2010-08-13
3
497 Views
Last Modified: 2013-11-05
In Server 2003, we could configure tasks to be stopped if they ran for 10 minutes.  In 2008, this setting seems to have a lowest value of 30 minutes.  We have limited time in the night to run these tasks and 30 minutes may cause our tasks to collide.  We've noticed that we can manually enter 10 minutes in the combo box and it seems to stick, but are unsure as to whether this will work or is even wise to attempt.

Are missing something, is 30 minutes truly the lowest value, or can we manually enter 10 and sleep soundly.  Thanks
0
Comment
Question by:2030penn
3 Comments
 
LVL 27

Accepted Solution

by:
Jason Watkins earned 125 total points
Comment Utility
I think you'll be fine with just entering a manual time value. 10 minute values exist as options in other parts of the creation script.
0
 
LVL 6

Assisted Solution

by:str8jacket29
str8jacket29 earned 125 total points
Comment Utility
According to MSDN, the capability is built in. "Specify a time when a task must time-out to prevent the task from running for too long."

http://msdn.microsoft.com/en-us/library/bb756979.aspx


New Task Settings
Task Scheduler uses settings to run the task with respect to conditions that are external to the task itself. Task settings specify how a task is run, stopped, or deleted. You can use task settings to:

•Schedule what actions to take if a task fails to run.

•Retry a task if it fails.

•Specify how many times to retry a failed task.

•Ensure that a task runs when the machine is powered on if the machine is powered off when a task is scheduled.

•Specify a time when a task must time-out to prevent the task from running for too long.

•Run a task as soon as possible after a scheduled start is missed.

•Force a task to stop if it does not end when requested.

The following illustration shows the settings for the Defrag task in the Task Scheduler Library.
0
 

Author Closing Comment

by:2030penn
Comment Utility
I doubled points and split because Firebar was first, but str8jacket29 pointed to a more complete explanation.  After digging through the initial link offered, I found these, which are confirmation enough for me.

http://msdn.microsoft.com/en-us/library/aa382678

http://www.w3.org/TR/xmlschema-2/#duration

Thanks for the assistance
0

Featured Post

Are your corporate email signatures appalling?

Is it scary how unprofessional your email signatures look? Do users create their own terrible designs and give themselves stupid job titles? You can make this a lot easier for yourself by choosing an email signature management solution from Exclaimer today.

Join & Write a Comment

Suggested Solutions

I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

772 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

11 Experts available now in Live!

Get 1:1 Help Now