Is it possible to start\stop already set windows scheduled task from ASP.NET code? I have few tasks scheduled in windows server 2008 r2. They run as per their scheduled time. But I need to run few tasks manually from ASP.NET web page whenever user wants. So in addition to the tasks running at their scheduled time, I want to give user the facility to start\stop at any time from ASP.NET web application.
Asked
Active
Viewed 953 times
2 Answers
1
it is possible -> "Task Scheduler Interfaces":
http://msdn.microsoft.com/en-us/library/windows/desktop/aa383606%28v=vs.85%29.aspx

Kr15
- 595
- 1
- 6
- 22
0
Yes, it is possible. Your backend process (IIS) will need sufficient rights. Start here: Task Scheduler 2.0 Interfaces

Alexander
- 2,457
- 1
- 14
- 17
-
I don't want to generate custom scheduler. I want to start start the processes which are on windows server 2009 r2 – Ami Aug 28 '14 at 11:10
-
Corrected my link, though it is the same direction as Kr15's answer. – Alexander Aug 28 '14 at 14:07