Solved

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

Posted on 2010-08-13
3
503 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Suggested Solutions

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…
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 install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

710 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