Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Schtasks /Create - Can I set Run Until?

Status
Not open for further replies.

stephenmbell

IS-IT--Management
Jan 7, 2004
109
US
I have a handful of scheduled tasks running on every windows xp machine in this segment of my network.

From time to time we have to re-image these machines and re-set them up. One of the things we have to do when we re-image is run a bat file to create all of these scheduled tasks.

Out of the 20 or so scheduled tasks created by this bat file, 3 of the tasks need to be manually edited -

we manually:

-Edit task
-Go To Schedule tab
-Click Advanced
-Under the Repeat Task - Change duration to Time and put 11:59PM in the time box

Is this possible to automate using the schtasks /create??

here is the "create" i currently use:

Code:
SCHTASKS /Create /RU pos /RP pos /SC MINUTE /MO 30 /TN CheckAndRun /TR C:\POSapps\checkrun\check.bat /ST 05:30:00 /SD 10/06/2003

Thank you for any help

sb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top