Windows schedule

  • Thread starter Thread starter JJ
  • Start date Start date
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
 
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/
 
Back
Top