cmd - How to schedule task with gui programattically -
(i'm working under windows xp)
a simplification of approach i'm taking (which isn't working) follows:
c:\>schtasks /create /tn "mytask" /tr "mspaint" /sc daily /st 11:43:00 /ru "system"
i know task being scheduled because can view in task scheduler.
i know runs , not stop because can view in task scheduler.
however: paint program never becomes visible. (is running user maybe?)
how schedule task gui becomes visible when task runs?
you need specify user in context task should run , check "run when logged in" checkbox. afaik can done in gui, not via schtasks
.
Comments
Post a Comment