Solved

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

Posted on 2010-08-13
3
504 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 27

Accepted Solution

by:
Jason Watkins earned 125 total points
ID: 33435911
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
ID: 33437068
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
ID: 33447325
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
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…
Suggested Courses

630 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