RecurringJob.AddOrUpdate(() => EmailUtil.SendEmails(), “0 10 * * *”);
Here cron expression for getting mail every day on 10 am is valid. but still it is not working.
can anyone help me out?
The expression is actually 10am UTC, which might be different from your local time. You may specify a timezone when scheduling a job to fix that.
Make sure the Hangfire server is continuously running, so the jobs are processed.