| Refresh | Home EGTry.com

schedule a recurring job with schtasks.exe



1. run every n minutes

Run every 1 minutes

schtasks.exe /create /tn "Nminute" /tr "c:\test\egtry\run_minute.bat" /sc MINUTE /mo 


2. run every n hours

Run every 1 hours

schtasks.exe /create /tn "Nhour" /tr "c:\test\egtry\run_minute.bat" /sc HOURLY /mo