This project has moved. For the latest updates, please go here.

Release 2.5.28

Rating:        Based on 5 ratings
Reviewed:  4 reviews
Downloads: 17981
Change Set: 98211
Released: Jun 27, 2017
Updated: Jun 27, 2017 by dahall
Dev status: Stable Help Icon

Recommended Download

Application TaskScheduler.zip
application, 1435K, uploaded Jun 27 - 14475 downloads

Other Available Downloads

Application TaskSchedulerEditor.zip
application, 5168K, uploaded Jun 27 - 1595 downloads
Application TaskSchedulerHelp.zip
application, 3231K, uploaded Jun 27 - 1911 downloads

Release Notes

Update history
Version 2.5.28
  • Minor fixes and compatibility with v1.6 of library
Version 2.5.27
  • Corrected problem getting correct library version on Win10 systems with app manifests
  • Changed method of getting local library version from OS based to getting it from the version of %SYSTEM%\taskschd.dll
  • Added ability to browse for Well Known Principals in User/Group picker dialog under TaskPropertiesControl general tab
  • Corrected incorrect selection of Windows version for compatibility combobox under TaskPropertiesControl general tab
Version 2.5.26
  • German localization completed
Version 2.5.24
  • Fixed background thread conflicts in TaskHistoryControl
  • Added TaskFolder.EnumerateTasks and TaskFolder.EnumerateFolders methods to provide an IEnumerable query
  • Fixed problem when determining equality of two MonthlyTrigger instances (thanks JDOSHI)
  • After 15 years, I found a more concise and efficient way to work with the core COM classes! Modifications made to interop classes to remove redundancy in the classes and now calling interfaces directly.
  • Cleaned up some unnecessary exceptions in XML parsing for V1.
Version 2.5.23
  • Fixed problem with custom triggers on Win10/Svr16
  • Added automatic translation of embedded resource string from TaskDefinition when displayed in TaskPropertiesControl. Can turn off setting ConvertResourceStringReferences = false
Version 2.5.22
  • Fixed problem with 2.0 and 3.5 libraries still requiring 4.0
  • Resolved issue with DateTimePicker not working with 24 hour clocks
  • Removed TaskCompability.V2_3 as it doesn't exist yet
  • Adjusted handling of Win10 so that it cannot display a version 1.5 of the library
  • Improved 'null' error handling in multiple files
  • Fixed critical error when passing empty string to RegisterTaskDefinition for userId
  • Added JetBrain NotNull indicators to methods
  • Fixed inconsistency on XP, where GetPath failed with exception instead of returning null like on later Windows versions.
  • Replaced direct dependency references with NuGet packages
  • More fixes to Trigger list context menu
  • Minor updates to TestTaskService
  • Fixed context menu bug in Trigger List UI
  • Code and XML comment cleanup
Version 2.5.21
  • Changed TaskCollection and RunningTaskCollection to IReadOnlyCollection instead of just IEnumerable
  • Added error handling to task enumeration
  • Added ability to set Repetition property of a trigger using a RepetitionPattern instance. This allows for all trigger properties to be set inline with constructor.
  • With the above addition, set the Trigger.SetRepetition method as Obsolete
  • Added 'description' parameter to TaskService.AddTask
  • Updated LocalSecurity class w/ default constructor for PS use
  • Fixed upper boundary on DailyTrigger interval UI
Version 2.5.20
  • Bug fixes with UI and field validation
Version 2.5.19
  • Bug fixes
Version 2.5.17
  • Added back in .NET 4 builds
  • Fixed RegisterTaskDefinition for tasks setting password to null
  • Fixed Task.Run and RunEx methods
Version 2.5.16
  • Event and Security UI bug fixes
  • Changed package to .NET 4.5.2 from 4.0
Version 2.5.15
  • Editor fixes
Version 2.5.14
  • Fixes to TaskEventWatcher, Trigger.StartDate and assoc UI
Version 2.5.13
  • More bug fixes (see History)
  • Completed first revision of a diagnostic tool
Version 2.5.12
  • A few bug fixes (see History)
Version 2.5.8
  • A few bug fixes (see History)
  • Updated NuGet to include symbols
Version 2.5.7
  • Fixed V1 error with ActionCollection.Clear
  • Added TaskSchedulerConfig project (incomplete) to help identify connection problems on V1 and V2 systems
Version 2.5.6
  • Bug fixes (V1 actions count and retention)
Version 2.5.5
  • Bug fixes (V1 registration validation & Task.IsActive)
Version 2.5.4
  • Added TaskEventWatcher component that enables watching task folders or tasks for changes and updated TaskListView and TaskHistoryControl with that feature (see sample code)
  • Fixed bug with context menu for lists that would display it in wrong position
Version 2.5.3
  • Fixed major bug when registering tasks with well known groups and built-in accounts ("Everyone", "SYSTEM", etc.) -- Sorry everyone.
  • Removed data contract attributes
Version 2.5.0
  • Bug fixes
  • Added ability for V1 tasks to support almost all V2 properties including the support of multiple action types of all action variants.
  • Bi-directional support for XML across V1 and V2
Version 2.4
  • A number of bug fixes for Windows 10.
  • Added support for .NET 2.0, 3.5 and 4.0
  • Added security handling and version compatibility handling (for connecting to up or down-stream versions)
  • Bug fixes
  • Enhancements to history control and event trigger editor
  • Compensation for deprecated email and message actions on Win8
  • Improved performance and marshalling.
Version 2.3
  • A more modern editor has been added as TaskOptionsEditor.
Version 2.0
  • Some bug fixes
  • Better support for Windows 8 additions to core library
  • Addition of Fluent syntax and crontab syntax
See Source Code for full details of changes.

Download Descriptions
  • TaskScheduler.zip - Includes the base library (Microsoft.Win32.TaskScheduler.dll) with no UI code. Works with .NET 2.0 and higher. Separate assemblies for .NET 2.0, 3.5 and 4.0. Add this assembly as a reference to interact with Task Scheduler on all systems with IE4 and later. This package is also available via NuGet with package name TaskScheduler.
  • TaskSchedulerEditor.zip - Includes the UI library (Microsoft.Win32.TaskSchedulerEditor.dll) with all supporting assemblies. Works with .NET 2.0 and higher. Separate assemblies for .NET 2.0, 3.5 and 4.0. Add this assembly as a reference along with Microsoft.Win32.TaskScheduler.dll to get editor controls and dialogs that allow for viewing and editing tasks, triggers, actions, lists, etc. This package is also available via NuGet with package name TaskSchedulerEditor.
  • TaskSchedulerHelp.zip - Includes the Microsoft Help compatible help files for both the base and editor libraries. Extract all files and then run Install_TaskScheduler.bat to integrate the help.

Reviews for this release

     
Great job. Fixed the reported issue very promptly. Many thanks for the excellent work.
by Iftikhar22 on Jun 12 at 9:29 AM
     
Windows Task scheduler has been around for nearly 2 decades. But programming around it was never simple. This is a manged wrapper that I think will influence the industry to give a second thought towards using Windows Task Scheduler for enterprise applications. I would not be surprised if somebody used this managed library and built a web based interface , similar to what you have in Autosys.
by harappa on Feb 5, 2016 at 10:06 PM
Thank you. This library just celebrated its 14th birthday and I share your hopes for its future.
Reply by dahall (Coordinator) on Feb 6, 2016 at 1:47 PM
     
Excellent work. Responses from the main author (David Hall) are very quick & helpful. Many thanks!
by ixm7 on Dec 28, 2015 at 12:35 AM
     
Excellent wrapper of the Windows Task Scheduling system. Makes integrating it into a C# project an absolute breeze. Not only this but the team behind it actually respond to issues and fix problems. Highly recommended.
by DonAtVega on Nov 4, 2015 at 8:49 AM
Thank you, DonAtVega, for your review and kind words. I enjoy supporting this project and keeping it relevant. I'm also very interested in ideas for improvements.
Reply by dahall (Coordinator) on Nov 11, 2015 at 3:29 PM