Download the PHP package skrip42/cron-bundle without Composer
On this page you can find all versions of the php package skrip42/cron-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download skrip42/cron-bundle
More information about skrip42/cron-bundle
Files in skrip42/cron-bundle
Download skrip42/cron-bundle
More information about skrip42/cron-bundle
Files in skrip42/cron-bundle
Vendor skrip42
Package cron-bundle
Short Description Symfony Cron-bundle
License MIT
Homepage https://github.com/Skrip42/cron-bundle
Package cron-bundle
Short Description Symfony Cron-bundle
License MIT
Homepage https://github.com/Skrip42/cron-bundle
Please rate this library. Is it a good library?
Informations about the package cron-bundle
cron-bundle
task scheduler for symfony witch extended syntax similar to cron.
install:
- run
composer require skrip42/cron-bundle
- create database
php ./bin/console make:migration
andphp ./bin/console doctrine:migration:migrate
- add
* * * * * ./bin/console cron:run
in you crontab
schedule-task syntax:
task pattern is {minute}_{house}_{day}_{weekday}_{month}_{year}
operant | description | example |
---|---|---|
* |
run everytime | *_*_*_*_*_* - will be executed every minute |
n,m |
run in n and m | 5,10_*_*_*_*_* - will be executed in 5 and 10 minute |
!n |
run everytime except n | *_*_*_!1_*_* - will be executed everytime except Monday |
n+m |
run in n+m | 5+10_*_*_*_*_* - will be executed in 15 minutes |
n-m |
run in n-m | 15-10_*_*_*_*_* - will be execute in 5 minutes |
-n |
run in m-n where m is max value of range (-5 in minute part equal 55 minute) | *_*_- 1_*_*_* - will be executed on the last day of the month |
n/m |
run when n aliquot m (*/5 in minute part - run every 5 minute) | */5_*_*_*_*_* - will be executed every 5 minutes |
n:m |
run in range from n to m | 5:10_*_*_*_*_* - will be executed in 5,6,7,8,9 and 10 minutes |
(n) |
group of operators | !(5,10,15)_*_*_*_*_* - will be executed every minute except 5,10 and 15 minute |
Operators can be combined, for example: 0_0_*/2-1_*_*_*
- will be executed at midnight on odd days.
available command:
cron:add
- interactiv adding cron taskcron:closest
- show list of closest taskcron:list
- show list of cron taskcron:list --all
- show list of all activity status cron taskcron:optimize
- disable outdated cron taskscron:run
- run actual taskcron:update $id
- update cron taskcron:toggle $id
- toggle cron task activity
usage:
All versions of cron-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.1.3
symfony/config Version ^4.0|^5.0
symfony/dependency-injection Version ^4.0|^5.0
skrip42/advanced-repository Version ^2.2
symfony/config Version ^4.0|^5.0
symfony/dependency-injection Version ^4.0|^5.0
skrip42/advanced-repository Version ^2.2
The package skrip42/cron-bundle contains the following files
Loading the files please wait ....