mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-14 16:46:30 +03:00
Recipe for 1.0 version of goksagun/scheduler-bundle
This commit is contained in:
@@ -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</>
|
||||
|
||||
Reference in New Issue
Block a user