mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-17 01:56:28 +03:00
14 lines
729 B
Plaintext
14 lines
729 B
Plaintext
<bg=blue;fg=white> </>
|
|
<bg=blue;fg=white> What's next for DukecityCommandSchedulerBundle ? </>
|
|
<bg=blue;fg=white> </>
|
|
|
|
* <fg=blue>Update your DB schema</>
|
|
1. php bin/console make:migration
|
|
2. php bin/console doctrine:migrations:migrate
|
|
|
|
* <fg=red;fg=white>Secure / 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</>
|