aF.
aF.

Reputation: 66697

How to get the enable / disable a scheduled task using C#?

Using C# (.net Framework 4.0) and Windows XP is it possible to enable/disable a Schedulled Task programatically?

Upvotes: 3

Views: 5420

Answers (1)

Oded
Oded

Reputation: 499042

Use the Task Scheduler Managed Wrapper:

This project provides a single assembly wrapper for the 1.0 and 2.0 versions of Task Scheduler found in all Microsoft operating systems post Windows 98. It simplifies the coding, aggregates the multiple versions, provides an editor and allows for localization support.

Upvotes: 2

Related Questions