I need to find out what switches need to be installed in the defrag script, or what syntax will allow me to put in a stop time.
We are currently using the program JKDefrag, the batch command is started from Windows Scheduled Task, but I've had no success finding a syntax that will allow me to put in a stop time (6AM). The code is below.
"AT 4:00 /every:su,m,t,w,th,f,s "C:\Windows\JKDefrag.exe" -example-
Edit to suit your needs
Time Format is 24 hour Military time
AT 12:00 /every:su,m,t,w,th,f,s "C:\Windows\JKDefrag.exe" (IT)
AT 18:00 /every:su,m,t,w,th,f "C:\Windows\JKDefrag.exe" (Servers)"
Any help would be appreciated.
http://ss64.com/nt/schtasks.html