diff --git a/lexik/cron-file-generator-bundle/1.0/config/packages/lexik_cron_file_generator.yaml b/lexik/cron-file-generator-bundle/1.0/config/packages/lexik_cron_file_generator.yaml new file mode 100644 index 00000000..a0813a3a --- /dev/null +++ b/lexik/cron-file-generator-bundle/1.0/config/packages/lexik_cron_file_generator.yaml @@ -0,0 +1,13 @@ +# see https://github.com/lexik/LexikCronFileGeneratorBundle/blob/master/Resources/doc/index.md +lexik_cron_file_generator: + env_available: # declare your env availables + - staging # example: staging, prod + user: + staging: 'project_staging' # user for execute the cron + php_version: 'php7.2' + absolute_path: + staging: 'project_dir/bin/console' + output_path: '%kernel.cache_dir%/cron_test' # filename will be cron_test + # crons configuration is optional but you need at least one for execute the command + # crons: + # - { name: 'Send email', command: 'app:test', env: { staging: '* * * * *', prod: '* 5 * * *' } } diff --git a/lexik/cron-file-generator-bundle/1.0/manifest.json b/lexik/cron-file-generator-bundle/1.0/manifest.json new file mode 100644 index 00000000..acbcc1b8 --- /dev/null +++ b/lexik/cron-file-generator-bundle/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Lexik\\Bundle\\CronFileGeneratorBundle\\LexikCronFileGeneratorBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}