Startup Configuration - furkandeveloper/EasyCronJob GitHub Wiki

Usage

For the cron job you created, you must configure it in Startup.cs.

Do not worry. This configuration is pretty simple.

services.ApplyResulation<ConsoleCronJob>(options =>
{
     options.CronExpression = "* * * * *";
     options.TimeZoneInfo = TimeZoneInfo.Local;
});

Process completed. Now, your cron job will run when the cron expression value you specified comes.