2 parents f2a16c0 + 3b43962 commit c4634bfCopy full SHA for c4634bf
1 file changed
Essentials/AutoCommand.cs
@@ -83,13 +83,15 @@ public string Interval
83
_nextRun = DateTime.Now + _interval;
84
}
85
86
+
87
if (CommandTrigger == Trigger.Scheduled)
88
{
89
_nextRun = DateTime.Now.Date + _interval;
90
if (_nextRun < DateTime.Now) _nextRun += TimeSpan.FromDays(1);
91
92
93
94
95
96
97
@@ -231,6 +233,7 @@ public enum Gtl
231
233
Equal
232
234
235
236
+ //TODO Remove Scheduled
237
public enum Trigger
238
239
Disabled,
0 commit comments