Example #1
0
        protected BaseScheduler(SchedulerSettings settings, JobMetadata metadataManager, IJobDetailService jobDetailService)
        {
            JobDetailService = jobDetailService;
            Metadata         = metadataManager;

            Init(settings);
        }
Example #2
0
        public JobController
        (
            IConfiguration config,
            IUserService userService,
            // IJobService jobService,
            IJobDetailService jobDetailService,
            IAcademicTypeService academicTypeService,
            ISubjectService subjectService,
            IQualificationService qualificationService,
            IJobProfileService jobProfileService,
            IJobTypeService jobTypeService
        )

        {
            _userService = userService;
            // _jobService = jobService;
            _config               = config;
            _jobDetailService     = jobDetailService;
            _academicTypeService  = academicTypeService;
            _subjectService       = subjectService;
            _qualificationService = qualificationService;
            _jobProfileService    = jobProfileService;
            _jobTypeService       = jobTypeService;
        }
Example #3
0
 protected JobMetadata(IJobDetailService jobDetailService)
 {
     JobDetailService = jobDetailService;
 }
Example #4
0
 public QuartzJobMetadata(IJobDetailService jobDetailService) : base(jobDetailService)
 {
 }
Example #5
0
 public QuartzScheduler(SchedulerSettings settings, JobMetadata metadataManager, IJobDetailService jobDetailService)
     : base(settings, metadataManager, jobDetailService)
 {
     JobListener.ToBeExecuted       += (s, e) => OnBeforeJobExecution(e.Job);
     JobListener.Executed           += (s, e) => OnJobTriggered(e.Job);
     JobListener.ExecutionVetoed    += (s, e) => OnJobSkipped(e.Job);
     JobListener.ExecutionSucceeded += (s, e) => OnJobSucceeded(e.Job);
     JobListener.ExecutionFailed    += (s, e) => OnJobFailed(e.Job);
 }
Example #6
0
 public HomeController(IJobDetailService jobDetailService, IDateTimeService dateTimeService)
 {
     _jobDetailService = jobDetailService;
     _dateTimeService  = dateTimeService;
 }