using Cleanuparr.Domain.Enums; using Cleanuparr.Infrastructure.Models; using Quartz; namespace Cleanuparr.Infrastructure.Services.Interfaces; public interface IJobManagementService { Task StartJob(JobType jobType, JobSchedule? schedule = null, string? directCronExpression = null); Task StopJob(JobType jobType); Task TriggerJobOnce(JobType jobType); Task> GetAllJobs(IScheduler? scheduler = null); Task GetJob(JobType jobType); Task UpdateJobSchedule(JobType jobType, JobSchedule schedule); Task GetMainTrigger(JobType jobType); }