Download the PHP package effiana/cron-bundle without Composer
On this page you can find all versions of the php package effiana/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 integration for symfony.
Installation
Installing this bundle can be done through these simple steps:
-
Add the bundle to your project as a composer dependency:
-
Add the bundle to your application kernel:
-
Update your DB schema
-
Start using the bundle:
-
To run your cron jobs automatically, add the following line to your (or whomever's) crontab:
OR If you don't have a dedicated cron daemon (e.g. in Heroku), you can use:
Available commands
list
Show a list of all jobs. Job names are show with if they are enabled and otherwise.
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
which we borrowed from Symfony. Make sure to check out php-cs-fixer as this will help you a lot.
start
Start the cron as a daemon. By default it forks itself to the background and suppresses any output. The --blocking
option will keep it in the foreground and will display output. This is useful when you don't have a dedicated cron daemon (e.g. on Heroku).
stop
Stops the background cron daemon started with cron:start
. This is not applicable when the daemon was started with --blocking
.
If you would like to help, take a look at the list of issues.
Requirements
PHP 7.2 or above
Author and contributors
Dries De Peuter - http://nousefreak.be
See also the list of contributors who participated in this project.
License
CronBundle is licensed under the MIT license.
All versions of cron-bundle with dependencies
effiana/cron Version ^2.0
doctrine/data-fixtures Version ^1.3
doctrine/doctrine-bundle Version *
doctrine/doctrine-migrations-bundle Version ^1.3 | ^2.1
doctrine/orm Version *
symfony/framework-bundle Version ^4.2 | ^5.0
effiana/migration-bundle Version dev-master