You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above code throws an ArgumentOutOfRangeException with the message "Number must be either non-negative and less than or equal to Int32.MaxValue or -1. Parameter name: dueTime". It appears that the Timer class is being passed an invalid argument within FleunetScheduler. To reproduce, make sure you call TaskManager.Initialize(new Tasks()) sometime after (but no too far after) the 10th of the month at 5:00 AM. Oddly, initializing more than a few days after the scheduled date is not a problem. It only seems to be a problem within 5 days or so following the scheduled date.
Thanks for taking a look at this issue. Please let me know if you need any additional details.
Kyle
The text was updated successfully, but these errors were encountered:
Hi Jim,
The following code will not initialize if the current date is equal to or greater than the scheduled day and time.
private class Tasks : Registry
{
public Tasks()
{
DefaultAllTasksAsNonReentrant();
}
The above code throws an ArgumentOutOfRangeException with the message "Number must be either non-negative and less than or equal to Int32.MaxValue or -1. Parameter name: dueTime". It appears that the Timer class is being passed an invalid argument within FleunetScheduler. To reproduce, make sure you call TaskManager.Initialize(new Tasks()) sometime after (but no too far after) the 10th of the month at 5:00 AM. Oddly, initializing more than a few days after the scheduled date is not a problem. It only seems to be a problem within 5 days or so following the scheduled date.
Thanks for taking a look at this issue. Please let me know if you need any additional details.
Kyle
The text was updated successfully, but these errors were encountered: