Parcourir la source

PRS SCHEDULER - update to run every 1 minute

Nick-PRSDigital@bitbucket.org il y a 2 ans
Parent
commit
42a36ec9a6
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      prs.scheduler/Scheduler.cs

+ 2 - 2
prs.scheduler/Scheduler.cs

@@ -20,8 +20,8 @@ namespace Comal.TaskScheduler.Shared
             CoreUtils.RegisterClasses();
             CoreUtils.RegisterClasses();
             ComalUtils.RegisterClasses();
             ComalUtils.RegisterClasses();
 
 
-            // Set the Interval to 1 hour
-            Interval = new TimeSpan(1, 0, 0);
+            // Set the Interval to 1 minute
+            Interval = new TimeSpan(0, 1, 0);
 			timer = new System.Timers.Timer(Interval.TotalMilliseconds);
 			timer = new System.Timers.Timer(Interval.TotalMilliseconds);
 			timer.Elapsed += new ElapsedEventHandler(CheckSchedules);            
 			timer.Elapsed += new ElapsedEventHandler(CheckSchedules);            
         }
         }