In addition to this basic information, the verbose display
shows HostName, Last Run Time, Last Result, Creator, Schedule, Task To Run, Start In,
Comment, Scheduled Task State, Scheduled Type, Start Time, Start Date, End Date, Days,
SCHEDULING AND MANAGING TASKS 209
Months, Run As User, Delete Task If Not Rescheduled, Stop Task If Runs X Hours and X Mins,
Repeat: Every, Repeat: Until: Time, Repeat: Until: Duration, Repeat: Stop If Still Running, Idle
Time, and Power Management.
/TN taskname Specifies the name of the task you want to query. Vista and above displays all
of the tasks when you don??™t supply this parameter.
/Change
The /Change parameter changes an existing task. You can??™t use this parameter to create a new task.
However, this parameter does work well to indicate a change in task location. This parameter uses
the following syntax:
SCHTASKS /Change [/S system [/U username [/P [password]]]] [/RU
runasuser] [/RP runaspassword] [/TR taskrun] /TN taskname [/ST
starttime] [/RI interval] [ {/ET endtime | /DU duration} [/K] ]
[/SD startdate] [/ED enddate] [/ENABLE | /DISABLE] [/IT] [/Z] }
The following list describes each of the command line arguments.
Pages:
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525