Skip to content

asp.net issue with findTask #859

@focusede

Description

@focusede

Hi, first off thank you for this wrapper. It seems to do exactly what I need, which is missing in my life.

On a Win2016 server, I have manually created a task which runs an exe. I am hoping just to trigger that task from my asp.net application.

using (var ts = new TaskService()) { // This will find it even if its down in a folder. var t = ts.FindTask(sTaskName); if (t != null) { t.Run(); {

So what is happening is t is always null. I have placed the task in the root folder just in case to no avail. I have searched but am hoping you can point me to the right way to execute this task. On a local machine (win10) I was able to run my simple task. Is there a step by step guide somewhere describing what must be done for the task to be found and run?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions