Scheduled jobs

This topic is intended for administrators and developers with administration access rights in Episerver.

A scheduled job performs a specific task automatically when set to a date and time. Scheduled jobs can be run automatically, or manually from the administration view in Episerver CMS, see Scheduled jobs. See Episerver World for technical details about scheduled jobs.

Running scheduled jobs can significantly affect website performance, and these jobs should be run at times of low usage if possible. Ensure you fully understand the impact of a job before running it.

Built-in scheduled jobs

The following Commerce-specific scheduled jobs are available by default in the CMS administration view. Customized modules and add-ons may have their own specific scheduled jobs not described here. See the technical documentation for each module to find out more.

Remove expired carts

Removes carts that are expired, that is, not accessed for a specified number of days. The default is 30. This value can be configured through code, see Episerver World for technical details.

Full search index

Performs a full indexing of content in product catalogs.

Incremental search index

Performs an incremental indexing of content in product catalogs.

Draft store migration

Used for migration of previously published content versions, when upgrading to the version management introduced with Commerce version 9. See Episerver World for technical details.

Find catalog URI conflicts

Analyzes the database to find entries and categories that have the same Name in URL under the same parent category. If conflicts are found, they are logged as warnings, output to the Scheduled Job Log, and sent to email addresses specified in code. See Episerver World for technical details.

Release shipment

Searches for releasable shipmentCommerce: a collection of products from a purchase order, ready to be shipped after going through inventory check and other verifications.s in active orders. If the difference between the shipment creation time and the current time is greater than the configured time span, the order's shipment status is changed to Released.

By default, when the job is activated, order shipments are released one day after an order is placed. A developer can change the default value in code. See Episerver World for technical details .

Rotate encryption keys

Sensitive customer data is secured with encryption keys that are set in meta-fields. This job rotates the encryption keys used by the system. See Episerver World for technical details.

Maintain database indexes

To reduce fragmentation in the CMS and Commerce database indexes, this job rebuilds or reorganizes them. See Episerver World for technical details.

Collect subscription data for reports

This job collects subscription data, ensuring that recurring paymentsCommerce: Payments initiated by Commerce Manager on a regular cycle, used in a subscription-based scenario. are regularly generated as a background process. Used for payment plans, such as magazine or grocery subscriptions.

Collect order data for reports

This job compiles the data used in the Sales By Day report.

Collect orders per promotion statistics

This job calculates statistics for displaying promotion (discount) usage for orders associated with campaignsCommerce: a set of related components and activities used for promotions. A campaign organizes marketing activity and is associated with discounts (promotions), customer segments, and markets. in the Marketing view. See Episerver World for technical details.

Other scheduled jobs

These jobs are available if you have Episerver Personalization or Episerver Campaign installed on your website.

 Export product feed

Exports the entire product feedA file made of all products a client sells. Each product contains an image link, title, identifier, URL, price, currency, and optional attributes. (catalog) for Episerver Product Recommendations to provide updated information to the recommendation service. This job includes the deletion of products and edits to asset and inventory information.

 Export product feed incrementally

Exports the product feed (catalog) to Episerver Product Recommendations incrementally. This job updates product changes without exporting the entire catalog.

This job is faster than the full export job since changes only include added and updated products. However, the incremental export job does not replace the full export job, since deletion of products and edits to asset and inventory information are not included. See Episerver World for technical details.

Export product data to Episerver Campaign

This job collects product data and saves it to a .csv file for transfer to Episerver Campaign. See Commerce-Campaign integration on Episerver Worldfor more details.