Quantcast
Channel: Task Scheduler Managed Wrapper
Browsing all 2206 articles
Browse latest View live
↧

New Post: Unable to invoke task.Run

Here is some working code that does what I think you're asking. You can pass string typed variables to the Run method.Using ts As New TaskService() ' Create a new task definition Dim td As...

View Article


New Post: Unable to invoke task.Run

Thankyou for the quick reply I am still facing problems defining the ExecAction instance.td.Actions.Add(New ExecAction("cmd", "/c start ""Log"" /min " +...

View Article


New Post: Unable to invoke task.Run

The ExecAction constructor takes a comma separated list of string constants. If variables are supplied to this constructor, they must evaluate to strings and cannot be replaced at runtime. The only...

View Article

New Post: Unable to invoke task.Run

I tried using the format you specified. Still gives the same error

View Article

New Post: Build a Trigger from its Description String

Hi, Trigger.ToString() returns a description string that represents the corresponding trigger. Is there any method that does the opposite, i.e., build a trigger given its description string? Something...

View Article


New Post: Build a Trigger from its Description String

There is not. In the 2.0 library, there is a Fluent API that allows you to kind of use word-like syntax, but there is no string parsing capability.

View Article

New Post: Unable to invoke task.Run

I have corrected errors in my previous code samples in this thread. I believe they should work now.

View Article

New Post: Build a Trigger from its Description String

Thanks for your reply! Well, this is what I want to do. Maybe you could recommend a better way. I use the Task Scheduler Managed Wrapper to schedule Windows Tasks, and save the settings in an external...

View Article


New Post: Build a Trigger from its Description String

Is Serialization the right thing to do?

View Article


New Post: Unable to invoke task.Run

Yes that works. Thank you for your time. Just wanted to clarify : Using task.Run causes the task to be executed immediately and in this case, the StartBoundary of the DailyTrigger is not relevant?

View Article

New Post: Unable to invoke task.Run

The Run method forces the task's action(s) to be run immediately regardless of any trigger settings.

View Article

New Post: Build a Trigger from its Description String

You can use the Task.Export() method to save the Xml to a file or your can capture the Task.Xml property and save that elsewhere. To regenerate the task, you can use the TaskService.NewTaskFromFile()...

View Article

New Post: Unable to invoke task.Run

Thank you for your help.

View Article


New Post: Build a Trigger from its Description String

Thank you very much! I used the XmlText property of TaskDefinition and it works perfectly! :)

View Article

New Post: How to create an action of my C# program function?

Hi there, I am trying to use the Task Scheduler Managed Wrapper to schedule runing one of my C# function. Is that possible to do? and how? The example shows how to schedule an exe as the following:...

View Article


New Post: How to create an action of my C# program function?

You can either create an executable that accepts parameters as a means to call your method or you can create a COM Handler using my template (https://taskscheduler.codeplex.com/releases/view/29938) as...

View Article

New Post: Getting COMExcpetion when attempting to register changes in a...

I've create a task using this library, that worked. Now when I use the TaskEdit dialog in the following way:Using D As New TaskEditDialog() Using Tsk As Task = ts.GetTask("\MyTasks\Task1") D.Editable =...

View Article


New Post: How to create Task into Task Scheduler?

First, thanks to respond quickly by Dahail. Because we have to use "Run whether user is logged on or not" mode, I found that it must to modified TaskRunLevel and pass...

View Article

New Post: Getting COMExcpetion when attempting to register changes in a...

I'm not sure what is causing your error. I would change your code sample to:Using D as New TaskEditDialog(ts.GetTask("\MyTasks\Task1"), True, True) D.ShowDialog() End Using Let me know if that changes...

View Article

Updated Wiki: Temporary Post Used For Theme Detection...

This is a temporary post that was not deleted. Please delete this manually. (f372e278-f64b-49bc-ab17-bf0d2ef2ba13 - 3bfe001a-32de-4114-a6b4-4005b770f6d7)

View Article
Browsing all 2206 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>