diff ServerMonitor/Objects/Schedule.cs @ 8:052aa62cb42a

Single instance. Add autorun option. Add icons. General enhancements.
author Brad Greco <brad@bgreco.net>
date Sat, 09 Mar 2019 20:14:03 -0500
parents 3142e52cbe69
children d92176c5398a
line wrap: on
line diff
--- a/ServerMonitor/Objects/Schedule.cs	Fri Mar 01 21:39:22 2019 -0500
+++ b/ServerMonitor/Objects/Schedule.cs	Sat Mar 09 20:14:03 2019 -0500
@@ -32,7 +32,6 @@
             DateTime nextTime = lastScheduledTime;
             if (Units == FrequencyUnits.Day)
             {
-                //TODO what if nextTime is null or really long ago?
                 while (nextTime < minStartTime)
                     nextTime = nextTime.AddDays(Frequency).Date.Add(StartTime);
             }