Scheduled Cleanup does not start and reports as Suspended

I have configured cleanup to run automatically as per History and Audit Event Log | docs.camunda.org

The configuration in as follows:

<properties>
            <property name="history">full</property>
            <property name="databaseSchemaUpdate">false</property>
            <property name="authorizationEnabled">true</property>
            <property name="jobExecutorDeploymentAware">true</property>
            <property name="jobExecutorActivate">false</property>
            <property name="scriptEngineNameJavaScript">nashorn</property>
            <property name="sundayHistoryCleanupBatchWindowStartTime">18:00</property>
            <property name="sundayHistoryCleanupBatchWindowEndTime">22:00</property>
            <property name="historyCleanupBatchSize">500</property>
            <property name="historyCleanupJobLogTimeToLive">P10D</property>
</properties>

When I open the application, it would correctly report that cleanup is scheduled, and there is data to clean up as indicated below:

However, after the trigger time has passed, no cleanup has been performed and history cleanup reports as suspended.

I am unable to find anything in the logs that would tell me why.

Also, if I click the ‘Cleanup Now’ button, the cleanup runs and deletes the historical data as expected.

The TTL is set on the workflows, and as indicated in the image, there is data to be cleaned up.

What could cause the scheduled cleanup not to run and be suspended? Is there more configuration needed to get this working?

I am using Camunda v7.17.6-ee. Please let me know if more information is required.

If you are an enterprise customer, open a support ticket to Camunda team.