Exemple #1
0
        public void Initialize()
        {
            Logger.Notice("Process startup");
              Logger.Log("Using definition file " + Filename);

              Manager = new CronManager(Filename);
              Timer = new Timer(x => Manager.Tick(), null, 1000, 15000);
        }
Exemple #2
0
        public void Initialize()
        {
            Logger.Notice("Process startup");
            Logger.Log($"Using definition file {Filename}");

            Manager = new CronManager(Filename);
            Timer   = new Timer(x => Manager.Tick(), null, 1000, 1000);
        }