Skip to content

Commit

Permalink
fix: Transform called every minute
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdotnet committed Apr 11, 2024
1 parent 9b9b1ef commit 2cdf5ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ public static void AddBackgroundServices(this IServiceCollection services)

services.AddNCronJob();
services.AddCronJob<BlogPostPublisher>(p => p.CronExpression = "* * * * *");
services.AddCronJob<TransformBlogPostRecordsJob>(p => p.CronExpression = "* * * * *");
services.AddCronJob<TransformBlogPostRecordsJob>(p => p.CronExpression = "0 * * * *");
}
}

0 comments on commit 2cdf5ca

Please sign in to comment.