Пример #1
0
        public EXIMJob GetJob()
        {
            var result = new EXIMJob();

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

            return result;
        }
Пример #2
0
 private void scheduleEXIMJob(EXIMJob EXIMJob)
 {
     _logger.InfoFormat("Scheduling job {0}", EXIMJob.Name);
     _scheduler.ScheduleJob(EXIMJob.JobDetail, EXIMJob.Trigger);
 }