mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
6 lines
373 B
Plaintext
6 lines
373 B
Plaintext
* <fg=blue>Configure</> your application:
|
|
1. Secure your route by adding <comment>- { path: ^/command-scheduler, role: ROLE_ADMIN }</> in your security config.
|
|
2. Set the single-entry point in crontab : <comment>* * * * * php /your_app/bin/console scheduler:execute</>
|
|
|
|
* <fg=blue>Schedule</> your commands at <comment>http://your-app/command-scheduler/list</>
|