Unpredictable scheduled job interval

Found in

EPiServer.CMS.Core 11.14.1

Fixed in

EPiServer.CMS.Core 11.18.0

Created

May 28, 2020

Updated

Aug 11, 2020

Area

CMS Core

State

Closed, Fixed and tested


Description

There are no clear steps to reproduce but it has been seen in several instances that when a short scheduled interval is setup (like 10 seconds) then the job is actually executed more rarely than configured (often around 70 s). This seems to appear more frequently in DXP environments.

Steps to reproduce:
First configure one job (that should complete fast) to run every minute e.g. 'Notification Dispatcher'
Then configure another scheduled job (that also should complete fast, e.g. 'Remove Permanent Editing' with a scheduled time for 10 secs
Let the system go for a couple of minutes and then look in the history tab for the jobs

Expected result:
Both jobs should have executed at approximately their scheduled frequency (1 min resp 10 secs)
Actual result:
The job that is scheduled to run each 10 secs runs approximately each 70 sec