Explorar el Código

PRS SCHEDULER - update to run every 1 minute

Nick-PRSDigital@bitbucket.org hace 2 años
padre
commit
42a36ec9a6
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      prs.scheduler/Scheduler.cs

+ 2 - 2
prs.scheduler/Scheduler.cs

@@ -20,8 +20,8 @@ namespace Comal.TaskScheduler.Shared
             CoreUtils.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.Elapsed += new ElapsedEventHandler(CheckSchedules);            
         }