mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-14 16:46:30 +03:00
Merge pull request #662
This commit is contained in:
@@ -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%/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user