Recipe for 1.0 version of goksagun/scheduler-bundle

This commit is contained in:
Burak Bolat
2019-12-16 12:04:17 +03:00
parent 36a451fc48
commit 2aee91eaee
3 changed files with 32 additions and 0 deletions
@@ -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: "* * * * *" }
@@ -0,0 +1,8 @@
{
"bundles": {
"Goksagun\\SchedulerBundle\\SchedulerBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
@@ -0,0 +1,7 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> What's next for SchedulerBundle? </>
<bg=blue;fg=white> </>
* <fg=blue>Configure</> bundle in <comment>config/packages/scheduler.yaml</>
* <fg=blue>Read</> the documentation at <comment>https://github.com/goksagun/scheduler-bundle/blob/master/README.md</>