Download the PHP package 4lxndr/cron-bundle without Composer
On this page you can find all versions of the php package 4lxndr/cron-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download 4lxndr/cron-bundle
More information about 4lxndr/cron-bundle
Files in 4lxndr/cron-bundle
Package cron-bundle
Short Description Symfony bundle for scheduled command execution with dependency resolution, job tagging, and automatic failure handling
License MIT
Homepage https://github.com/4lxndr/cron-bundle
Informations about the package cron-bundle
Shapecode - Cron Bundle
A Symfony bundle for managing scheduled cron jobs within your application.
Acknowledgments
This bundle builds upon the foundation provided by shapecode/cron-bundle. Thanks to the original authors and contributors for their excellent work.
Requirements
- PHP 8.4+
- Symfony 7.4+ or 8.0+
Installation
If Symfony Flex doesn't auto-register the bundle, add it to config/bundles.php:
Update your database schema:
Quick Start
Create a Symfony console command and add the AsCronJob attribute:
Scan and run your jobs:
Add to your system crontab to run automatically every 5 minutes:
Documentation
- Commands — Full reference for all available console commands
- Configuration — Bundle configuration options
- Tags — Organizing and filtering jobs with tags
- Dependencies — Job dependency chains, modes, and failure handling
- Pause Windows — Defining daily time ranges where jobs are silently skipped
Database Migrations
When upgrading to a version that adds new columns (tags, dependencies, pause windows), migrate your database:
All versions of cron-bundle with dependencies
symfony/framework-bundle Version ^7.4 || ^8.0
symfony/dependency-injection Version ^7.4 || ^8.0
symfony/http-kernel Version ^7.4 || ^8.0
symfony/config Version ^7.4 || ^8.0
symfony/console Version ^7.4 || ^8.0
symfony/process Version ^7.4 || ^8.0
symfony/stopwatch Version ^7.4 || ^8.0
symfony/event-dispatcher Version ^7.4 || ^8.0
symfony/event-dispatcher-contracts Version ^3.5 || ^4.0
doctrine/doctrine-bundle Version ^2.13 || ^3.0
doctrine/collections Version ^2.2
doctrine/persistence Version ^4.1
doctrine/orm Version ^3.5
doctrine/dbal Version ^4.4
psr/clock Version ^1.0
dragonmantank/cron-expression Version ^3.6