private static IJobDetail CreateJob(JobSchedule schedule)
        {
            var jobType = schedule.JobType;
            var jobId   = jobType.FullName;

            if (schedule.Description != null)
            {
                jobId = $"{schedule.Description} ({jobType.FullName})";
            }
            return(JobBuilder
                   .Create(jobType)
                   .WithIdentity(jobId, schedule.Group)
                   .WithDescription(schedule.Description ?? jobType.Name)
                   .Build());
        }
        private static ITrigger CreateTrigger(JobSchedule schedule)
        {
            var jobType = schedule.JobType;
            var jobId   = jobType.FullName;

            if (schedule.Description != null)
            {
                jobId = $"{schedule.Description} ({jobType.FullName})";
            }
            return(TriggerBuilder
                   .Create()
                   .WithIdentity($"{jobId}.trigger", schedule.Group)
                   .WithCronSchedule(schedule.CronExpression)
                   .WithDescription(schedule.CronExpression)
                   .Build());
        }