src/EasyProfiler.CronJob/Abstractions/CronJobService.cs
Method ScheduleJob
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
protected virtual async Task ScheduleJob(CancellationToken cancellationToken)
{
var next = cronExpression.GetNextOccurrence(DateTimeOffset.Now, timeZoneInfo);
if (next.HasValue)
{
- Create a ticketCreate a ticket