Quantcast
Channel: Byte Miner » Windows
Browsing all 2 articles
Browse latest View live

Windows Task Scheduler

Details on how to schedule a task that runs every N minutes using the Windows Task Scheduler. Minute Schedule Syntax schtasks /create /tn /tr /sc minute [/mo {1 - 1439}] [/st ] [/sd ] [/ed ] [{/et |...

View Article



Batch script to monitor Windows Service

@echo off FOR /F "tokens=2 delims= " %%i IN ('"wmic.exe SERVICE GET Name, State" ^| findstr /I Stopped ^| findstr /I SERVICENAME') DO if %%i==Stopped goto :stop FOR /F "tokens=2 delims= " %%i IN...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images