mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
Add CommandScheduler bundle recipe
This commit is contained in:
@@ -0,0 +1,34 @@
|
|||||||
|
jmose_command_scheduler:
|
||||||
|
|
||||||
|
# Default directory where scheduler will write output files
|
||||||
|
# This default value assume that php bin/console is launched from project's root and that the directory is writable
|
||||||
|
# if log_path is set to false, logging to files is disabled at all
|
||||||
|
log_path: "%kernel.logs_dir%"
|
||||||
|
|
||||||
|
# This default value disables timeout checking (see monitoring), set to a numeric value (seconds) to enable it
|
||||||
|
lock_timeout: false
|
||||||
|
|
||||||
|
# receivers for reporting mails
|
||||||
|
monitor_mail: []
|
||||||
|
|
||||||
|
# set a custom subject for monitor mails (first placeholder will be replaced by the hostname, second by the date)
|
||||||
|
monitor_mail_subject: cronjob monitoring %s, %s
|
||||||
|
|
||||||
|
# to send "everything's all right" emails to receivers for reporting mails set this value to "true" (see monitoring)
|
||||||
|
send_ok: false
|
||||||
|
|
||||||
|
# Namespaces listed here won't be listed in the list
|
||||||
|
excluded_command_namespaces:
|
||||||
|
- _global
|
||||||
|
- scheduler
|
||||||
|
- server
|
||||||
|
- container
|
||||||
|
- config
|
||||||
|
- generate
|
||||||
|
- init
|
||||||
|
- router
|
||||||
|
- doctrine
|
||||||
|
- debug
|
||||||
|
|
||||||
|
# Doctrine manager
|
||||||
|
doctrine_manager: default
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
jmose_command_scheduler:
|
||||||
|
resource: "@JMoseCommandSchedulerBundle/Resources/config/routing.yml"
|
||||||
|
prefix: /
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"bundles": {
|
||||||
|
"JMose\\CommandSchedulerBundle\\JMoseCommandSchedulerBundle": ["all"]
|
||||||
|
},
|
||||||
|
"copy-from-recipe": {
|
||||||
|
"config/": "%CONFIG_DIR%/"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user