Why it is not sending mail on 10 am everyday

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?

  1. 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.

  2. Make sure the Hangfire server is continuously running, so the jobs are processed.

1 Like