Change an Existing Task
Applies to : windows 7, windows server 2008 R2, windows server 2012, windows vista
You can change existing task by changing the general properties, triggers,actions,conditions,or settings of the task. For more information about deleting a task, see delete a task.
To Changing an Existing Task by using the windows interface
1.If task scheduals is not open, start task scheduler. For more information, see start task scheduler.
2.Find and click the task folder in the consle tree that contains the task you want to change.
3.In the console window,click the task thatyou want to change.
4.Click properties in the action pane. The task properties dilog box will appear.
5.In the task properties dialog box:
a.Click the general tab to view the task's general properties that you can change. For more information about these properties, see general properties.
b.Click the Triggers tab to view the task's triggers. Select a trigger from the list of triggers on the tab and click the Edit button to change the selected trigger's settings, click the New button to create a new trigger, or click the Delete button to delete the selected trigger. For more information about triggers, see Triggers.
c.Click the Actions tab to view the task's actions. Select an action from the list of actions on the tab and click the Edit button to change the selected action's settings, click the New button to create a new action, or click the Delete button to delete the selected action. For more information about actions, see Actions.
d.the Conditions tab to view the task's conditions that you can change. For more information about these conditions, see Task Conditions.
e.Click the Settings tab to view the task's settings that you can change. For more information about these settings, see Task Settings.
6.Click the OK button on the Task Properties dialog box when you are finished changing the task. This will register the task again. If the task has an action that is triggered when the task is registered, the action will be executed. If you have not made any changes to the task, click the Cancel button.
To change an existing task by using a command line
1.Open a command prompt. To open a command prompt, click Start , click All Programs , click Accessories , and then click Command Prompt .
2.Type:
schtasks /Change [/S <system> [/U <username> [/P [<password>]]]]
/TN <taskname> { [/RU <runasuser] [/RP <runaspassword>] [/TR <taskrun>]
[/ST <starttime>] [/RI <interval>] [ {/ET <endtime> | /DU <duration>} [/K] ]
[/SD <startdate>] [/ED <enddate>] [/ENABLE | /DISABLE] [/IT] [/Z] }
0 Comments