Hi. On my production environment, I have two cron jobs, one will trigger daily and another one monthly.
The thing is for daily job, it was indeed triggered. But all steps in that method never executes. It seems rather weird particularly when monthly was working fine (triggered and method executed) but not for daily(triggered but no method executed). It becomes weirder when the daily job is working as intended when I manually run the job.
Below is how I implemented the code in my startup.cs:
RecurringJob.AddOrUpdate(e=> e.BillEmailsJob(), Cron.Monthly, TimeZoneInfo.Local);
RecurringJob.AddOrUpdate(f=> f.StorageRecord(), Cron.Daily, TimeZoneInfo.Local);
Is there anything that I overlooked?