Skip to content

Commit

Permalink
fix: add jobregistration to avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdotnet authored Nov 27, 2024
1 parent da6049f commit 0b28636
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public static void AddBackgroundServices(this IServiceCollection services)
.ExecuteWhen(s => s.RunJob<SimilarBlogPostJob>());

options.AddJob<TransformBlogPostRecordsJob>(p => p.WithCronExpression("0/10 * * * *"));
options.AddJob<SimilarBlogPostJob>();
});
}
}

0 comments on commit 0b28636

Please sign in to comment.