Is it possible to call one Windows scheduled task from another Windows scheduled task?
I have created two independent task Windows scheduled task's:
-
First task running under system-context (needs to run under system-context as application needs to be installed silently) checks if already installed application as any updates on every scheduled interval.
-
Second task running user-context (needs to run under user-context because when run under system-context its running in background) which open one pop-up for restart.
I want to call second task which is running under user-context only when there is updates available for the application.
If anyone has suggestions it would be much appreciated
Solution 1:
The first task may start the 2nd, yes. The syntax would simply be
schtasks /run /TN secondtasksname