469,908 Members | 2,116 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,908 developers. It's quick & easy.

Adding Application to Scheduled Tasks Programmaticly

Hi,
I developed a console .exe application which is going to run on scheduled
basis, it will be scheduled to run in Windows Scheduled tasks. Client wants
some kind of utility that would help them manage scheduled tasks on different
servers. So, how can I add scheduled task to local machine or remote servers
programmatically?
Thanks.
Nov 17 '05 #1
3 22733
The keyword here is ITaskScheduler. Sample code for Interop:
http://www.codeproject.com/csharp/tsnewlib.asp
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"Lenn" <Le**@discussions.microsoft.com> wrote in message
news:75**********************************@microsof t.com...
Hi,
I developed a console .exe application which is going to run on scheduled
basis, it will be scheduled to run in Windows Scheduled tasks. Client
wants
some kind of utility that would help them manage scheduled tasks on
different
servers. So, how can I add scheduled task to local machine or remote
servers
programmatically?
Thanks.

Nov 17 '05 #2
"Lenn" <Le**@discussions.microsoft.com> schrieb:
I developed a console .exe application which is going to run on scheduled
basis, it will be scheduled to run in Windows Scheduled tasks. Client
wants
some kind of utility that would help them manage scheduled tasks on
different
servers. So, how can I add scheduled task to local machine or remote
servers
programmatically?


Wrapper Classes for the Windows Task Scheduler
<URL:http://mvps.org/emorcillo/en/code/shell/tasksched.shtml>

A New Task Scheduler Class Library for .NET
<URL:http://www.codeproject.com/csharp/TSNewLib.asp>

Task Scheduler Library for .NET
<URL:http://www.codeproject.com/csharp/taskschedulerlibrary.asp>

Task Scheduler for .NET
<URL:http://www.msjogren.net/dotnet/eng/samples/misc.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 17 '05 #3
Thank you guys. Exactly what I needed.

"Herfried K. Wagner [MVP]" wrote:
"Lenn" <Le**@discussions.microsoft.com> schrieb:
I developed a console .exe application which is going to run on scheduled
basis, it will be scheduled to run in Windows Scheduled tasks. Client
wants
some kind of utility that would help them manage scheduled tasks on
different
servers. So, how can I add scheduled task to local machine or remote
servers
programmatically?


Wrapper Classes for the Windows Task Scheduler
<URL:http://mvps.org/emorcillo/en/code/shell/tasksched.shtml>

A New Task Scheduler Class Library for .NET
<URL:http://www.codeproject.com/csharp/TSNewLib.asp>

Task Scheduler Library for .NET
<URL:http://www.codeproject.com/csharp/taskschedulerlibrary.asp>

Task Scheduler for .NET
<URL:http://www.msjogren.net/dotnet/eng/samples/misc.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Greg Bryant | last post: by
5 posts views Thread by Bart Simpson | last post: by
3 posts views Thread by Steve | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.