0

I have set up 5 jobs to run at 4pm/5pm/6pm/7pm/8pm daily. This jobs emails reports those times. This morning, I had 5 emails at 630am as you can see by the screen shot

  1. Does anyone know why all these jobs ran at the same time.
  2. Is there a better way to set up the CRON to run them at 4pm/5pm/6pm/7pm/8pm week days?

BTW it is showing the next execution correctly. and current time is 120pm Thanks in advance Hangfire

Id  Cron    Time zone   Job Next execution  Last execution  Created
SameDay 4pm 0 16 * * *  Eastern Standard Time   BRBusinessLayer.EmailAllSameDayReport   in 3 hours  7 hours ago a month ago
SameDay 5pm 0 17 * * *  Eastern Standard Time   BRBusinessLayer.EmailAllSameDayReport   in 4 hours  7 hours ago a month ago
SameDay 6pm 0 18 * * *  Eastern Standard Time   BRBusinessLayer.EmailAllSameDayReport   in 5 hours  7 hours ago a month ago
SameDay 7pm 0 19 * * *  Eastern Standard Time   BRBusinessLayer.EmailAllSameDayReport   in 6 hours  7 hours ago a month ago
SameDay 8pm 0 20 * * *  Eastern Standard Time   BRBusinessLayer.EmailAllSameDayReport   in 7 hours  7 hours ago a month ago

Update: using 1.8.0-beta4

Update 2 I saw there was a process that hung last night. The SameDay 7pm and SameDay 8pm, didn't get fired until 620am this morning. I am not sure if it failed and was retrying. Seems like a very long window of retrying (about 12 hours)

H20rider
  • 2,162
  • 5
  • 29
  • 47

0 Answers0