As seen in Executing the queue you can execute the queue in multiple ways, but it’s no fun doing that manually all the time.
With the Crawler you have the possibility to add Scheduler Tasks to be executed
on a give time. The Crawler commands are implemented with the Symfony Console,
and therefore they can be configured with the Core supported
Execute console commands (scheduler) task.
So how to setup crawler scheduler tasks:
- Add a new Scheduler Task
- Select the class Execute console commands
- Select Frequency for the execution
- Go to section Schedulable Command. Save and reopen to define command arguments at the bottom.
- Select e.g. crawler:buildQueue (press save)
- Select the options you want to execute the queue with, it’s important to check the checkboxes and not only fill in the values.
Now you can save and close, and your scheduler tasks will be running as configured.
The configured task will look like this:
And after save and close, you can see what command is executed, it would be the same parameters, you can use when running from cli, see Building and Executing queue right away (from cli)