New Post: Add task from xml string
What is my mistake ? using (TaskService ts = new TaskService()) { string Task_Settings = System.IO.File.ReadAllText(@"D:\DailyTrigger.xml"); TaskFolder tf = ts.RootFolder; tf.RegisterTask(@"XMLTask",...
View ArticleNew Post: Add task from xml string
NewTaskFromFile will give you a TaskDefinition but does not create (register) the task. The problem you may be having is a permissions problem when registering. Are you running the executable from an...
View ArticleClosed Unassigned: Release 2.3.1 bug with .NET 3.5 [12088]
Hello,I am testing the release 2.3.1 over the previous 2.0.3 with .NET 3.5. I took the 2.0 version of the dll and I have compilation errors.Some types from System.Core v3.5.0.0 have the same names as...
View ArticleSource code checked in, #95427
* Fixed problem when including TaskScheduler.dll in a .NET 3.5 project. Updated conditional build parameters around system event code, changed project to include a 3.5 specific build, and update NuGet...
View ArticleCommented Issue: Release 2.3.1 bug with .NET 3.5 [12088]
Hello,I am testing the release 2.3.1 over the previous 2.0.3 with .NET 3.5. I took the 2.0 version of the dll and I have compilation errors.Some types from System.Core v3.5.0.0 have the same names as...
View ArticleUpdated Release: Release 2.3.2 (Apr 24, 2015)
Some bug fixes, better support for Windows 8 additions to core library, addition of Fluent syntax, and crontab syntax, since the 1.9.4 release. Since 2.0.3 release, added support for .NET 2.0, 3.5 and...
View ArticleReleased: Release 2.3.2 (Apr 24, 2015)
Some bug fixes, better support for Windows 8 additions to core library, addition of Fluent syntax, and crontab syntax, since the 1.9.4 release. Since 2.0.3 release, added support for .NET 2.0, 3.5 and...
View ArticleUpdated Release: Release 2.3.2 (Apr 24, 2015)
Some bug fixes, better support for Windows 8 additions to core library, addition of Fluent syntax, and crontab syntax, since the 1.9.4 release. Since 2.0.3 release, added support for .NET 2.0, 3.5 and...
View ArticleNew Post: Using 'RunOnluIfLoggedOn' is not working for me
The above is not working and i am catching this Task Scheduler 2.0 (1.2) does not support setting this property. You must use an InteractiveToken in order to have the task run in the current user...
View ArticleNew Post: How to enable a task in task scheduler using C#?
Hi, All I also have problems with task edition. Shortly:"RegisterChanges" is not needed in case we want only to change "Enabled". Moreover in case it will be called - "Enabled" flag will be returned to...
View ArticleNew Post: Using 'RunOnluIfLoggedOn' is not working for me
Yes, when using TaskScheduler 2.0 (Vista and later) the RunOnlyIfLoggedOn property will throw an exception. You must instead do as instructed and register the task using an InteractiveToken setting.
View ArticleNew Post: How to enable a task in task scheduler using C#?
You can set alreadyPresentTask.Definition.Settings.Enabled = true before calling RegisterChanges. This will ensure the task is enabled and you do not have to set the alreadyPresentTask.Enabled...
View ArticleNew Post: cannot creating a task without running app as admin
when trying to create tasks I get access denied unless the program is stated as admin. the user is a local admin on the system, the task is being created on the same system, and the task is to be run...
View ArticleNew Post: Task Sheduler Sinlge page web application
I created console application that call asmx web services. For example we give it a name "CallWebService". Now, I am creating single page web application for create, read, update, and delete tasks. I...
View ArticleNew Post: cannot creating a task without running app as admin
The code calling the TaskService constructor must be running as Administrator to avoid UAC blocks. The security rights of the TaskService instance will determine if the RegisterTaskDefinition method...
View Article