コード例 #1
0
ファイル: MeasuresJobHelper.cs プロジェクト: jorgevr/Borawind
        public BORAWINDJob GetJob()
        {
            var result = new BORAWINDJob();

            result.Name = "Measures BORAWIND Loader Job";
            result.JobDetail = createJobDetail();
            result.Trigger = createTrigger();

            return result;
        }
コード例 #2
0
ファイル: Dispatcher.cs プロジェクト: jorgevr/Borawind
 private void scheduleBORAWINDJob(BORAWINDJob BORAWINDJob)
 {
     _logger.InfoFormat("Scheduling job {0}", BORAWINDJob.Name);
     _scheduler.ScheduleJob(BORAWINDJob.JobDetail, BORAWINDJob.Trigger);
 }