How to Edit a Currently Scehduled Task
Start Task Scheduler
You can start the Task Scheduler MMC snap-in by using a single command from the
command line or by using the Windows interface. Task Scheduler can also be
started by double-clicking the Taskschd.msc file in the %SYSTEMROOT%\System32
folder.
To Run Task Scheduler using the Windows interface
- Click the Start button.
- Click Control Panel.
- Click System and Maintenance.
- Click Administrative Tools.
- Double-click Task Scheduler.
To Run Task Scheduler from the Command Line
- Open a command prompt. To open a command prompt, click Start, click All Programs, click Accessories,
and then click Command Prompt.
- At the command prompt, type Taskschd.msc.
The Schtasks.exe command line tool enables a user to complete many of the same
operations that they can complete using the Task Scheduler MMC snap-in. This
tool enables a user to create, delete, query, change, run, and end scheduled
tasks on a local or remote computer. This tool is located in the
%SYSTEMROOT%\System32 folder. Type Schtasks.exe /? from a command prompt
window to view the help for the tool.
|
Changing an Existing Task
- Using the Windows interface
- Using a command line
To change an existing task by using the Windows interface
- If Task Scheduler is not open, start Task Scheduler.
- Find and click the task folder in the console tree that contains the task
you want to change.
- In the console window, click the task that you want to change.
- Click Properties in the Action pane. The task Properties dialog box will appear.
- In the task Properties dialog box:
- Click the General tab to view the task's general properties that you can change. For more information
about these properties, see task Properties
- 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.
- 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.
- Click the Conditions tab to view the task's conditions that you can change.
- Click the Settings tab to view the task's settings that you can change.
- 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
- Open a command prompt. To open a command prompt, click Start, click All Programs, click Accessories,
and then click Command Prompt.
- 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] }
To view the help for this command, type:
schtasks /Change /?
|