diff ServerMonitor/Objects/Schedule.cs @ 39:7645122aa7a9

Get it working under Mono
author Brad Greco <brad@bgreco.net>
date Tue, 09 Jun 2020 20:59:00 -0400
parents 2342e9459444
children
line wrap: on
line diff
--- a/ServerMonitor/Objects/Schedule.cs	Sun Sep 15 21:01:14 2019 -0400
+++ b/ServerMonitor/Objects/Schedule.cs	Tue Jun 09 20:59:00 2020 -0400
@@ -73,7 +73,7 @@
         /// last execution time and adding the configured number of time units. The computer might
         /// have been asleep or the program might have not been running, so the next date might
         /// be in the past.
-        /// 
+        ///
         /// To best follow the schedule, we take the last execution time and fast-forward time
         /// by adding the configured time interval until we get a resulting time that is in the future.
         /// For example, suppose a check is scheduled to run every 5 minutes starting at 7:00.
@@ -139,5 +139,5 @@
     }
 
     /// <summary>Units of time that a check can be scheduled to run in intervals of.</summary>
-    public enum FrequencyUnits { Second, Minute, Hour, Day }
+    public enum FrequencyUnits { Second = 0, Minute = 1, Hour = 2, Day = 3 }
 }
\ No newline at end of file