Windows schedule

J

JJ

Hello NG

I once saw an application that could registrate other applications in the
Windows Scheduler.
Does someone know to do that in C#

Kind regards
Johnny E. Jensen
 
J

Jani Järvinen [MVP]

Hi Johnny,
I once saw an application that could registrate other applications in the
Windows Scheduler. Does someone know to do that in C#?

I haven't done this myself in C#, but you need to use the Task Scheduler
API, which is a COM based API. Thus, it should be pretty easy to call it
from C#.

Here's the place on MSDN to get started:

http://msdn.microsoft.com/en-us/library/aa446802.aspx

Note that if you are using Windows Vista or Windows Server 2008, you can use
the version 2.0 of the API, otherwise you need to use the original 1.0
version.

Hope this helps!

--
Regards,

Mr. Jani Järvinen
C# MVP
Vantaa, Finland
(e-mail address removed)
http://www.saunalahti.fi/janij/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top