Updated Wiki: Documentation
There is a help file included with the download that provides an overview of the various classes. The Microsoft MSDN documentation provides an excellent overview of the Task Scheduler along with...
View ArticleUpdated Wiki: Examples
Below are some examples of how to use most of the functions of the library:Connecting to a remove serverUsing the editorSimple exampleEnumerate all tasksComplex exampleTask history exampleOn all these...
View ArticleNew Post: Getting COMExcpetion when attempting to register changes in a...
Hi thanks for the suggestion but unfortunately it didn't work. The output from D.Task.xml is:<?xml version="1.0" encoding="UTF-16"?> <Task version="1.2"...
View ArticleSource code checked in, #87820
* Fixed permissions problem with changing a task's user or group when user does not have admin rights.
View ArticleNew Post: Cant find the Task
So this is what I am doing using (TaskService ts = new TaskService()) { if (ts.Connected) { Task task = ts.FindTask("RunAppTask"); } } This works fine on local Win7 machine but returns null for task on...
View ArticleNew Post: Cant find the Task
You may need to run the program as Administrator. UAC can cause this problem.
View ArticleNew Post: Cant find the Task
ok. I see how to get this done in an desktop application but, this code is in an asp.net web application that is hosted on IIS. How can I get it working there?
View ArticleNew Post: Cant find the Task
There are a number of other discussion threads addressing permissions and IIS. Please do a search at the Discussions home page.
View ArticleNew Post: How to create Task into Task Scheduler?
iversonjimmy, Thanks for posting. I have same requirement run task whether the user is logged on or not Where should I change the code to get work? I have tried following, but not work. what is RP, how...
View ArticleNew Post: How to create Task into Task Scheduler?
It is working now with following codets.RootFolder.RegisterTaskDefinition(@"ImportBloodLossData", td, TaskCreation.Create, td.Principal.UserId, password, td.Principal.LogonType) this works when whether...
View ArticleNew Post: Getting COMExcpetion when attempting to register changes in a...
Hi is there any news on this issue?
View ArticleReviewed: Release 2.0 (Nov 21, 2013)
Rated 5 Stars (out of 5) - ? hi, the Microsoft.Win32.TaskScheduler.dll can't works windows xp?help!
View ArticleCreated Unassigned: TaskScheduler Version seems to be incorrect on Win2012R2...
When creating a new Showing the TaskEditor with an existing TaskDefinition the "Configure for:" shows an empty ComboBox. The TaskDefinition Settings say it is Compatible with V2_2 but the TaskServer...
View ArticleCreated Unassigned: Opening TaskEditDialog is really slow (~20sec) [11441]
The constructor of the TaskEditDialog takes quite long to finish. I tried to debug it seems that the constructor of the TimeSpanPickes are the problem. When creating the TimeSpanPicker some regexp is...
View ArticleNew Post: System.IO.FileNotFoundException when selecting run times From/To...
I don't think it is fixed - I ran into same problem on 64 bit Windows 7 (but just tested on another 64bit Windows 8 machine, works fine) - version i used is Microsoft.Win32.TaskScheduler.dll (dll...
View ArticleNew Post: TaskScheduler NuGet package includes NCrontab.dll
I've updated the version of the TaskScheduler NuGet package our code uses to 2.0.0 but now it seems like the NuGet package has added a reference in our project to a DLL called NCrontab.dll....
View ArticleNew Post: Getting COMExcpetion when attempting to register changes in a...
I've also encountered this issue! I'm using C# and am getting the exact same exception for TaskEditDialog. When I change the dropdown to Windows 7, Windows Server 2008 R2, task saves fine. This error...
View ArticleNew Post: Logon Trigger
I just recently tried the following snippet:new TaskService().AddTask("Test", new LogonTrigger(), new ExecAction("AnExecutable.exe", null, null)); And I get: Access is denied. (Exception from HRESULT:...
View Article