15 lines
406 B
C#
15 lines
406 B
C#
using FictionArchive.Service.SchedulerService.Models;
|
|
using FictionArchive.Service.SchedulerService.Services;
|
|
using HotChocolate;
|
|
using Quartz;
|
|
using Quartz.Impl.Matchers;
|
|
|
|
namespace FictionArchive.Service.SchedulerService.GraphQL;
|
|
|
|
public class Query
|
|
{
|
|
public async Task<IEnumerable<SchedulerJob>> GetJobs(JobManagerService jobManager)
|
|
{
|
|
return await jobManager.GetScheduledJobs();
|
|
}
|
|
} |