Merge pull request #662

This commit is contained in:
symfony-flex-server[bot]
2019-08-13 17:31:51 +00:00
committed by GitHub
2 changed files with 21 additions and 0 deletions
@@ -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 * * *' } }
@@ -0,0 +1,8 @@
{
"bundles": {
"Lexik\\Bundle\\CronFileGeneratorBundle\\LexikCronFileGeneratorBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}