From 415e03f4c466f9dc1106247ca1b8c7e57fd6a4ed Mon Sep 17 00:00:00 2001 From: "j.guyon" Date: Fri, 9 Feb 2018 15:36:23 +0100 Subject: [PATCH] Add CommandScheduler bundle recipe --- .../2.0/config/packages/scheduler.yaml | 34 +++++++++++++++++++ .../2.0/config/routes/scheduler.yaml | 3 ++ .../2.0/manifest.json | 8 +++++ 3 files changed, 45 insertions(+) create mode 100644 jmose/command-scheduler-bundle/2.0/config/packages/scheduler.yaml create mode 100644 jmose/command-scheduler-bundle/2.0/config/routes/scheduler.yaml create mode 100644 jmose/command-scheduler-bundle/2.0/manifest.json diff --git a/jmose/command-scheduler-bundle/2.0/config/packages/scheduler.yaml b/jmose/command-scheduler-bundle/2.0/config/packages/scheduler.yaml new file mode 100644 index 00000000..da59fa0d --- /dev/null +++ b/jmose/command-scheduler-bundle/2.0/config/packages/scheduler.yaml @@ -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 \ No newline at end of file diff --git a/jmose/command-scheduler-bundle/2.0/config/routes/scheduler.yaml b/jmose/command-scheduler-bundle/2.0/config/routes/scheduler.yaml new file mode 100644 index 00000000..a4c03940 --- /dev/null +++ b/jmose/command-scheduler-bundle/2.0/config/routes/scheduler.yaml @@ -0,0 +1,3 @@ +jmose_command_scheduler: + resource: "@JMoseCommandSchedulerBundle/Resources/config/routing.yml" + prefix: / \ No newline at end of file diff --git a/jmose/command-scheduler-bundle/2.0/manifest.json b/jmose/command-scheduler-bundle/2.0/manifest.json new file mode 100644 index 00000000..52f03bb6 --- /dev/null +++ b/jmose/command-scheduler-bundle/2.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "JMose\\CommandSchedulerBundle\\JMoseCommandSchedulerBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}