/ET
endtime
Specifies the end time of the task. The time format is HH:MM:SS (24-hour time).
Don??™t use a 12-hour time format that includes AM and PM. You can??™t use this feature with
schedule types of ONSTART, ONLOGON, ONIDLE, and ONEVENT. It also isn??™t possible to use
this feature with the
/DU
option.
/DU
duration
Specifies the duration of the task. The time format is HH:MM (a time interval
in hours and minutes, not a specific time). You can??™t use this feature with schedule types of
ONSTART, ONLOGON, ONIDLE, and ONEVENT. It also isn??™t possible to use this feature with
the
/ET
option. When you specify the /RI argument with a /V1 task, the default duration is
1 hour.
/K Automatically terminates the task at the end time or after the duration interval expires.
You can??™t use this feature with schedule types of ONSTART, ONLOGON, ONIDLE, and
ONEVENT. This argument is only applicable when you specify either the /ET or /DU command
line arguments.
/XML xmlfile Creates a task based on the task XML in the specified file. Combine this command
line switch with the /RU and /RP command line switches to specify a complete entry
(including security).
Pages:
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520