When creating a new parser, the frequency of parser launches is automatically created, which can be viewed in the Periodic tasks module. They are divided into 2 types:
- Creating/updating products - "Full Sync"
- Update prices - "Price Only"
If you need to change the time and frequency of running a certain parser, find it on the Periodic tasks page and open it.
In the "Schedule" tab, find the "Crontab Schedule" field and select the required data from the list. If we don’t find the required time and frequency, you can create it using the “+” button to the right of the field.
What iscrontab**?
This is a way to schedule tasks on a server based on time. For example: “update data every hour.” This schedule is called a cron schedule.
Example: 0 12 * * *
- Launch at 12:00 every day
or
Example: 15 14 * * *
- Execute the script at 14:15 (2:15 PM) every day.
* - means any value or always. If there is an asterisk in the Hour field, it means the job will run every hour.
, - allows you to specify a list of values to repeat. For example, if you have 1,3,5 in the Hour field, the job will run at 1, 3, and 5 am.
- - allows you to specify a range of values. If the Day of Week field is set to 1-5, the job will run every weekday (Monday through Friday).
/ - allows you to specify values that will be repeated within a certain interval between them. For example, if the Hour field is */4, this means that the action will run every four hours. This is the same as specifying 0,4,8,12,16,20. Instead of an asterisk before the slash operator, you can also use a range of values, 1-30/10 means the same as 1,11,21.
For convenience, you can use: https://crontab.guru/
Was the article helpful?
Yes, thank you! Unfortunately no