diff --git a/jmose/command-scheduler-bundle/2.0/config/packages/scheduler.yaml b/jmose/command-scheduler-bundle/2.0/config/packages/scheduler.yaml index c811fbf8..49159ebf 100644 --- a/jmose/command-scheduler-bundle/2.0/config/packages/scheduler.yaml +++ b/jmose/command-scheduler-bundle/2.0/config/packages/scheduler.yaml @@ -1,23 +1,11 @@ +# See full configuration at +# https://github.com/J-Mose/CommandSchedulerBundle/blob/master/Resources/doc/index.md#4---available-configuration 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 + # Scheduler will write output files here. set false to disable it. 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 + # Add namespace you don't want to see its Command in the scheduler. excluded_command_namespaces: - _global - scheduler @@ -29,6 +17,3 @@ jmose_command_scheduler: - router - doctrine - debug - - # Doctrine manager - doctrine_manager: default diff --git a/jmose/command-scheduler-bundle/2.0/post-install.txt b/jmose/command-scheduler-bundle/2.0/post-install.txt new file mode 100644 index 00000000..5ac420ae --- /dev/null +++ b/jmose/command-scheduler-bundle/2.0/post-install.txt @@ -0,0 +1,9 @@ + + What's next for JMoseCommandSchedulerBundle ? + + + * Configure your application: + 1. Secure your route by adding - { path: ^/command-scheduler, role: ROLE_ADMIN } in your security config. + 2. Set the single-entry point in crontab : * * * * * php /your_app/bin/console scheduler:execute + + * Schedule your commands at http://your-app/command-scheduler/list