Store Scheduled Tasks

Background jobs for store data maintenance and cleanup

The Store scheduled tasks handle maintenance of store-related data, including cleanup of historical information that is no longer needed.

Available Tasks

TaskDescriptionType
Delete Historical Opening HoursRemove additional opening hours entries that are past their dateDelta

Overview

Store tasks help maintain clean and efficient store data:

  1. Data Cleanup - Remove historical entries that are no longer relevant

Common Use Cases

Opening Hours Maintenance

Use Delete Historical Opening Hours to remove old additional opening hours entries (holidays, special events) that have passed, keeping store data clean and queries efficient.


Configuration Requirements

Store cleanup tasks require configuration in tenant settings:

  • storeSettings.deleteAdditionalOpeningHoursThreshold - Days after which historical opening hours are deleted

Task TypeRecommended ScheduleReason
Cleanup tasks0 3 * * 0 (weekly at 3 AM Sunday)Low-impact maintenance during off-peak

On this page