From 2aee91eaee3cc78289fd692c66999aa03f267ee7 Mon Sep 17 00:00:00 2001 From: Burak Bolat Date: Mon, 16 Dec 2019 11:46:32 +0300 Subject: [PATCH] Recipe for 1.0 version of goksagun/scheduler-bundle --- .../1.0/config/packages/scheduler.yaml | 17 +++++++++++++++++ goksagun/scheduler-bundle/1.0/manifest.json | 8 ++++++++ goksagun/scheduler-bundle/1.0/post-install.txt | 7 +++++++ 3 files changed, 32 insertions(+) create mode 100644 goksagun/scheduler-bundle/1.0/config/packages/scheduler.yaml create mode 100644 goksagun/scheduler-bundle/1.0/manifest.json create mode 100644 goksagun/scheduler-bundle/1.0/post-install.txt diff --git a/goksagun/scheduler-bundle/1.0/config/packages/scheduler.yaml b/goksagun/scheduler-bundle/1.0/config/packages/scheduler.yaml new file mode 100644 index 00000000..1ab4ef08 --- /dev/null +++ b/goksagun/scheduler-bundle/1.0/config/packages/scheduler.yaml @@ -0,0 +1,17 @@ +# A CRON expression is a string representing the schedule for a particular command to execute. +# The parts of a CRON schedule are as follows: +# +# * * * * * +# - - - - - +# | | | | | +# | | | | | +# | | | | +----- day of week (0 - 7) (Sunday=0 or 7) +# | | | +---------- month (1 - 12) +# | | +--------------- day of month (1 - 31) +# | +-------------------- hour (0 - 23) +# +------------------------- min (0 - 59) +scheduler: + tasks: + # You may define all of your scheduled tasks here. + # To get started, let's look at an example of scheduling a task (command). + #- { name: example:command arg --option, expression: "* * * * *" } diff --git a/goksagun/scheduler-bundle/1.0/manifest.json b/goksagun/scheduler-bundle/1.0/manifest.json new file mode 100644 index 00000000..851efb50 --- /dev/null +++ b/goksagun/scheduler-bundle/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Goksagun\\SchedulerBundle\\SchedulerBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/goksagun/scheduler-bundle/1.0/post-install.txt b/goksagun/scheduler-bundle/1.0/post-install.txt new file mode 100644 index 00000000..94c8c677 --- /dev/null +++ b/goksagun/scheduler-bundle/1.0/post-install.txt @@ -0,0 +1,7 @@ + + What's next for SchedulerBundle? + + + * Configure bundle in config/packages/scheduler.yaml + * Read the documentation at https://github.com/goksagun/scheduler-bundle/blob/master/README.md + \ No newline at end of file