scheduled task every x hour cmd

Posted by Netsurvivor | Netzwerk, Scripting, Windows | Freitag 26 Februar 2010 00:41

scheduled task every x time

You can create a cmd file to execute an scheduled task under windows with different user in a rotation. If you finished the CMD File you have many possibilities to delivery to all PC. In my company we use Altiris Deployment Solution you can use the GPO under Windows too this is the same  :-)

schtasks /create /sc hourly /st 18:00:00 /tn “<JOBNAME>” /tr <COMMAND>/ru domain\user/rp passowrd

Syntax Referenz is:

schtasks /create /tn TaskName /tr TaskRun /sc schedule [/mo modifier] [/d day] [/m month[,month...] [/i IdleTime] [/st StartTime] [/sd StartDate] [/ed EndDate] [/s computer [/u [domain\]user /p password]] [/ru {[Domain\]User | “System”} [/rp Password]] /?

….for more Information visit Official Microsoft Website

1 Kommentar »

  1. Kommentar von user97 — 26. Februar 2010 @ 23:50

    Thx, nice Site … is started allready

RSS-Feed für Kommentare zu diesem Artikel. TrackBack URI

Einen Kommentar hinterlassen



Eigene Homepage? Dann testen Sie Euros4Click.de und kassieren Sie pro Werbeeinblendung hohe Vergütungen.