Download the PHP package nicoren/cron-bundle without Composer
On this page you can find all versions of the php package nicoren/cron-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package cron-bundle
cron-bundle
Cron is schedule integration for symfony.
Cron integration for symfony.
Installation
Installing this bundle can be done through these simple steps:
- Add the bundle to your project as a composer dependency: With symfony Flex :
without symfony Flex :
-
Add the bundle to your application kernel : If you don't use Symfony flex
- Update your DB schema
3.1. ( doctrine ORM)
3.2. ( doctrine odm)
-
Configuration Overview: edit or create file config/packages/nicoren_cron.yaml
- To run your cron jobs automatically, add the following line to your (or whomever's) crontab:
Available commands
list
Show a list of all jobs.
create
Create a new job.
delete
Delete a job. For your own protection, the job must be disabled first.
enable
Enable a job.
disable
Disable a job.
run all jobs schelduled at current time
which we borrowed from Symfony. Make sure to check out php-cs-fixer as this will help you a lot.
Please note that--force
forces the job to be executed (even if disabled) based on the job schedule
Requirements
PHP 7.3 or above
Author and contributors
Nicolas RENAULT - [email protected]
License
CronBundle is licensed under the MIT license.
All versions of cron-bundle with dependencies
doctrine/mongodb-odm-bundle Version ^4.1|4.2|4.3
doctrine/doctrine-bundle Version ^2.2|2.3
symfony/process Version ^4.4|^5.0|^5.1|^5.2
symfony/framework-bundle Version ^4.4|^5.0|^5.1|^5.2
symfony/cache Version ^4.4|^5.0|^5.1|^5.2