Beispiel #1
0
        static async void HisTask(int minute, int repeatCount)
        {
            var triggle = QuartzHelper.CreateTimeIntervalTriggle(minute, repeatCount);

            triggle.JobDataMap.Add("date1", "2019-01-01");
            triggle.JobDataMap.Add("date2", "2020-01-01");
            await QuartzHelper.StartJob <PatientInfoJob>(nameof(HisTask), triggle, nameof(PatientInfoJob), nameof(HisTask));
        }