mirror of
https://github.com/sstent/Scripts.git
synced 2026-01-26 07:02:20 +00:00
10 lines
306 B
Batchfile
10 lines
306 B
Batchfile
rem ##########script for deleted and recreating the AT1 job on servers#########
|
|
|
|
|
|
@echo off
|
|
for %%i in (server1,server2) do (
|
|
|
|
schtasks /delete /tn "at1" /f /s %%i
|
|
schtasks /create /tn "at1" /sc daily /st 20:00:00 /sd 04/19/2011 /tr "c:\netgen\tools\logman.pl" /ru "nt authority\system" /s %%i
|
|
|
|
) |