Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Scheduler runs some jobs at startup

Fixed in

EPiServer.CMS.Core 9.3.2

(Or a related package)

Created

Nov 06, 2015

Updated

Nov 13, 2015

Area

CMS Core

State

Closed, Fixed and tested


Description

If the Inittime isn't configured with an extra day it will probably run directly at startup since it adds inittime to midnight and checks if that time has passed

Steps to reproduce:

  • Create new site and update to 9.3.0
  • Run the site (time should be 5-25 minutes past a whole hour) and go into admin
  • Check scheduled job

Expected:

  • "Publish delayed pages" should not have run at site start and should be scheduled to run every hour on the hour starting next whole hour (if the time is 14:07 then the next run should be 15:00)
  • "Notification dispatcher" should not have run at site start and should be scheduled to run every half hour (next run should be 14:30)

Actual:

  • "Publish delayed pages" has run at 14:07 and is scheduled to run 15:07
  • "Notification dispatcher" has run at 14:07 and is scheduled to run 14:37