dahall / TaskScheduler

Provides a .NET wrapper for the Windows Task Scheduler. It aggregates the multiple versions, provides an editor and allows for localization.
MIT License
1.21k stars 191 forks source link

New Task Create in a folder #842

Closed renehartman73 closed 4 years ago

renehartman73 commented 4 years ago

Hey Dahall,

There is a issue with the dll.

Problem: Create a new Task Scheduler Library and it works fine! Create a new Task in a folder and it does not create a new task.

Did you know this and can you fixed this?

Greetings, René

dahall commented 4 years ago

I'm not sure I understand your issue. If you look at the code for Complex Example, it creates a task in the root folder, the creates a folder and adds a new task to that folder. If that's not the problem, please include a code snippet of the action that is failing along with the exception that is thrown.

renehartman73 commented 4 years ago

Hey David,

Can you try this:

[cid:image001.png@01D5B68C.27FF5820]

Create new Task in Task Scheduler Library, Task name is RENE this work good! [cid:image002.png@01D5B68C.99D22360]

Create new Task in a folder: [cid:image003.png@01D5B68C.99D22360]

[cid:image004.png@01D5B68C.99D22360]

No Task wil created and no error!

Hopende u voldoende te hebben geïnformeerd.

Met vriendelijke groet / Kind regards, René Hartman

Van: David Hall notifications@github.com Verzonden: donderdag 19 december 2019 15:37 Aan: dahall/TaskScheduler TaskScheduler@noreply.github.com CC: Rene Hartman | Vector Eyes rene.hartman@vectoreyes.nl; Author author@noreply.github.com Onderwerp: Re: [dahall/TaskScheduler] New Task Create in a folder (#842)

I'm not sure I understand your issue. If you look at the code for Complex Examplehttps://github.com/dahall/TaskScheduler/wiki/Examples#Complex-example, it creates a task in the root folder, the creates a folder and adds a new task to that folder. If that's not the problem, please include a code snippet of the action that is failing along with the exception that is thrown.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/dahall/TaskScheduler/issues/842?email_source=notifications&email_token=ANAPSLCF4LDVAZYC43MZID3QZOBITA5CNFSM4J5ELIHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHJZN7Q#issuecomment-567514878, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANAPSLD6MKJX43O4WC7NCSDQZOBITANCNFSM4J5ELIHA.

dahall commented 4 years ago

None of your images can be viewed so I cannot determine what you are showing me. Please repost with pictures that are added as files by dragging them into the window.

renehartman73 commented 4 years ago

02-NewTaskWithNameReneCreate 03-CreateNewTaskInFolder 04-CreateNewReneTaskInFolder 01-CreateNewTask

Hey David,

Next try :D

Can you try this!

Create with your demo TaskSchedulerMockup a new task in the Task Scheduler Library. (Picture 01)

This work great, Picture 02.

But, when you create a same task in a folder (Picture 03) then it dont work any more. (Picture 04).

This was working in the previous one, but i think Windows make a update in the Windows Task Scheduler.

I hope it is clear now.

Best regards,

René Hartman

dahall commented 4 years ago

Thank you for the pictures. I have confirmed that TaskSchedulerMockup fails to create a task in any non-root folder. This is not a problem with the underlying library as I am able to do this in my unit tests. I'll look at the demo code and see if I can fix the problem.

dahall commented 4 years ago

Fixed in 2.8.18, just released.

dahall commented 4 years ago

Please confirm I've fully addressed your issue once you've tested the new version.

renehartman73 commented 4 years ago

I'm on vacation now, I'll let you know.

Met vriendelijke groet, Vector Eyes B.V.

René Hartman

Verstuurd vanaf mijn iPhone

Op 21 dec. 2019 om 16:54 heeft David Hall notifications@github.com het volgende geschreven:



Please confirm I've fully addressed your issue once you've tested the new version.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/dahall/TaskScheduler/issues/842?email_source=notifications&email_token=ANAPSLBJU4UR724TPJUT6KLQZY33FA5CNFSM4J5ELIHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHO6RNY#issuecomment-568191159, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANAPSLGXEHCXS5LGSJFZSOTQZY33FANCNFSM4J5ELIHA.

renehartman73 commented 4 years ago

Happy new year! Thanks, It works fine.