mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
18 lines
742 B
YAML
18 lines
742 B
YAML
# 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: "* * * * *" }
|