php bin/console make:schedule

Create a scheduler component

Usage

make:schedule

Help

The make:schedule command generates a schedule to automate repeated
tasks using Symfony's Scheduler Component.

If the Scheduler Component is not installed, make:schedule will
install it automatically using composer. You can of course do this manually by
running composer require symfony/scheduler.

php bin/console make:schedule