EDN Admin
Well-known member
I am interested in creating a new scheduled task for Vista / Windows 7 and I am intersted in doing in programmatically for my program. For windows XP I used:<br/><br/>
<div style="background-color:white;color:black
<pre>System.Diagnostics.Process.Start(<span style="color:#a31515 "schtasks", <span style="color:#a31515 @"/create /tn TestTast /tr C:test.exe /sc daily /st 18:55:00");
[/code]
<br/>How would I go about doing this for Vista / Windows 7 programmatically, if I also wanted to select the "<span>Run task as soon as possible after a scheduled start is missed" option?<br/><br/>Thank you<br/><br/>M.Ahrens
View the full article
<div style="background-color:white;color:black
<pre>System.Diagnostics.Process.Start(<span style="color:#a31515 "schtasks", <span style="color:#a31515 @"/create /tn TestTast /tr C:test.exe /sc daily /st 18:55:00");
[/code]
<br/>How would I go about doing this for Vista / Windows 7 programmatically, if I also wanted to select the "<span>Run task as soon as possible after a scheduled start is missed" option?<br/><br/>Thank you<br/><br/>M.Ahrens
View the full article