Files
symfony-flex-recipes-contrib/dukecity.command-scheduler-bundle.3.0.json
T
github-action[bot]andgithub-action[bot] 07bebab4b0 Update Flex endpoint
2021-11-15 21:21:31 +00:00

65 lines
2.9 KiB
JSON

{
"manifests": {
"dukecity/command-scheduler-bundle": {
"manifest": {
"bundles": {
"Dukecity\\CommandSchedulerBundle\\DukecityCommandSchedulerBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"post-install-output": [
" * <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</>"
]
},
"files": {
"config/packages/scheduler.yaml": {
"contents": [
"# See full configuration at",
"# https://github.com/Dukecity/CommandSchedulerBundle/wiki/Configuration",
"dukecity_command_scheduler:",
"",
" # Scheduler will write output files here. set false to disable it.",
" log_path: \"%kernel.logs_dir%\"",
"",
" # Add namespace you don't want to see its Command in the scheduler.",
" excluded_command_namespaces:",
" - _global",
" - scheduler",
" - server",
" - container",
" - config",
" - generate",
" - init",
" - router",
" - doctrine",
" - debug",
""
],
"executable": false
},
"config/routes/scheduler.yaml": {
"contents": [
"dukecity_command_scheduler:",
" resource: \"@DukecityCommandSchedulerBundle/Resources/config/routing.php\"",
" prefix: /",
""
],
"executable": false
}
},
"ref": "41654b9384665fbf3069a21c9a46bbc05b32198a"
}
}
}