Hi ,
While scheduling any activity in windows through "schtasks" it's by default prompting the cmd window. To get rid of it use "/ru System in Schtasks command" which makes it as a system NT Authority/System Job and won't prompt any window at any time.
Ex:-
schtasks /create /tn "My App" /tr c:\apps\myapp.exe /sc monthly /d 15 /ru System
--Dinesh
While scheduling any activity in windows through "schtasks" it's by default prompting the cmd window. To get rid of it use "/ru System in Schtasks command" which makes it as a system NT Authority/System Job and won't prompt any window at any time.
Ex:-
schtasks /create /tn "My App" /tr c:\apps\myapp.exe /sc monthly /d 15 /ru System
--Dinesh
Comments
Post a Comment