Scheduled Jobs are configurations that automatically create Jobs at specified intervals. They allow you to orchestrate multiple actions, such as import and export feeds, job retrials, system updates, etc. to be executed automatically by the Job Manager subsystem.
Some job types are available only with additional modules purchase.
Main functions
Every job has the following fields:
- Name: The name of the job
- Type: The type of the Scheduled Job (e.g., "Check system updates", "Import Feed", etc.). Cannot be changed after creation.
- Scheduling: Defines frequency of job runs using cron syntax. Press
i
to get the syntax. For example,0 2 * * *
runs the job daily at 2:00 AM. The time used is system time. - Active: Checkbox to enable or disable the job execution
You can also run the job immediately, regardless of the schedule, by pressing the Execute Now
button. This creates a job scheduled for current time.
The jobs execution log displays all Jobs that have been created from this scheduled job configuration, showing their execution status, timing, and results.
Scheduled Jobs types
Scheduled Jobs can provide different job types to execute:
Check system updates
This job checks for available system updates on the schedule you set. It scans for available updates without actually installing them.
Update system automatically
This job starts system update on the schedule you set. The settings set by update are taken from the Modules
menu, so it is essentially pressing the Update
button on the set time.
Scan Storage
Available with S3 Object Storage module.
Import Feed
This job starts the selected import feed on the schedule you set. The settings set by the feed are taken from the feed menu, so it is essentially pressing the Import
button on the set time.
Automatic PDF generation
Available with PDF Generation module.
This job starts generating PDFs as assets that are appropriate for selected PDF Feed.
Note that this job may take a lot of time and server resources, so please schedule its execution when you do not need to work in the system.
Refresh Cache for Dynamic Relations
Available with Advanced Data Types module.
This job is used when you use dynamic relations, such as dynamic categories. Refreshing cache is needed for relations to show up-to-date data.
Calculate Data Quality
Available with Data Quality module.
This job analyzes data quality metrics across the system and generates reports on data completeness, accuracy, and consistency.
Export Feed
This job starts the selected export feed on the schedule you set. The settings set by the feed are taken from the feed menu, so it is essentially pressing the Export
button on the set time.
Recalculate Product Price
Available with Pricing module.
This job is used when you use dynamically calculated prices. This job starts recalculating action for all products.
Note that this job may take a lot of time and server resources, so please schedule its execution when you do not need to work in the system.
Update currency exchange via ECB
This job inserts current exchange rates taken from ECB to AtroCore currencies. Only currencies and rates supported by ECB are affected by this job.
Synchronization
Available with Synchronization module.
This job starts the selected synchronization on the schedule you set. The settings set by the feed are taken from the synchronization menu, so it is essentially pressing the Execute
button on the set time.
Failed jobs retrial
This job looks for the selected jobs done by import and export feeds and/or other scheduled jobs and then starts ones of them that had failed status in the last hours set in Maximum hours to look back
field.
They will be shown in additional panel Retrials.
Action
Available in Workflows module.
This job type allows for custom actions to be executed on a schedule. It provides flexibility for executing specific business logic or custom operations.
Clear deleted data
Add this job to regularly clean the database of deleted records or records that have not been modified for a long time. It will remove garbage from all entities that have required parameters set.
Use Scheduled Job Clear deleted data
to clean up outdated Notifications, Action History, etc. on a regular basis.
The values of parameters Permanent deletion period, days
and Auto-delete period, in days
are set in the configuration of each entity.
With such settings, entity records will be deleted 21 days after the last modification and after another 35 days they will be deleted permanently from the database.