TaskScheduler
TaskScheduler copied to clipboard
Provides a .NET wrapper for the Windows Task Scheduler. It aggregates the multiple versions, provides an editor and allows for localization.
https://github.com/dahall/TaskScheduler/blob/c126e0c54e9b3393bc753af4ba8214664eb51b0f/TaskService/Task.cs#L3297-L3298 
**Describe the bug** Task fails to be updated for few of our customers with the error: `ERROR [b__3 Intuit.Services.TaskScheduleManager.TaskSchedulerWapper+c__DisplayClass5_1] - Task update failed for the path : 'C:\Users\\AppData\Roaming\Intuit\BU\Install\1.1.16\Intuit.BU.SelfUpdater.exe' error System.Runtime.InteropServices.COMException...
**Describe the bug** Set V1 Task Data (under TaskScheduler/TaskService/Task.cs) still uses BinaryFormatter which is obsolete in .NET 8 as described here: https://learn.microsoft.com/en-us/dotnet/core/compatibility/serialization/8.0/binaryformatter-disabled internal static void SetV1TaskData(ITask v1Task, object value) {...
**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: **new TaskService(server, userName, domain, pwd)** In that above code block...
# Abuse of Microsoft.Win32.TaskScheduler Library in Malware Campaign ## 恶意软件活动中滥用 Microsoft.Win32.TaskScheduler 库的问题 ### Problem Description / 问题描述 **English:** We have discovered that the `Microsoft.Win32.TaskScheduler` library (version 2.11.0.0) is being actively...
**Describe the bug** Exceptions on runnig AOT build **To Reproduce** Steps to reproduce the behavior: 1. Create project with AOT publishing 2. Use any functionality from TaskScheduler 3. Publish 4....
Exception: ``` Unhandled exception. System.TypeInitializationException: The type initializer for 'Microsoft.Win32.TaskScheduler.TaskService' threw an exception. ---> System.ArgumentException: Value does not fall within the expected range. at Microsoft.Win32.TaskScheduler.V2Interop.ITaskService.Connect(Object serverName, Object user, Object domain,...