whatwedo / cron-bundle
Run Symfony commands as cron job
v1.1.0
2026-11-17 17:06 UTC
Requires
- php: >=8.3
- ext-posix: *
- dragonmantank/cron-expression: ~3.3
- symfony/console: ^6.4|^7.1|^8.0
- symfony/event-dispatcher: ^6.4|^7.1|^8.0
- symfony/framework-bundle: ^6.4|^7.1|^8.0
- symfony/process: ^6.4|^7.1|^8.0
- symfony/security-bundle: ^6.4|^7.1|^8.0
- symfony/yaml: ^6.4|^7.1|^8.0
Requires (Dev)
- doctrine/doctrine-bundle: ^2.13|^3.0
- doctrine/orm: ^2.20|^3.3
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^11.5|^12.0
- symfony/browser-kit: ^6.4|^7.4|^8.0
- symfony/config: ^6.4|^7.4|^8.0
- symfony/css-selector: ^6.4|^7.4|^8.0
- symfony/dependency-injection: ^6.4|^7.4|^8.0
- symfony/dotenv: ^6.4|^7.4|^8.0
- symfony/http-kernel: ^6.4|^7.4|^8.0
- symfony/runtime: ^6.4|^7.4|^8.0
- symfony/stimulus-bundle: ^2.16|^3.0
- symfony/translation: ^6.4|^7.4|^8.0
- symfony/twig-bundle: ^6.4|^7.4|^8.0
- symfony/validator: ^6.4|^7.4|^8.0
- whatwedo/php-coding-standard: ^2.0
- whatwedo/twig-bootstrap-icons: ^1.0
- zenstruck/browser: ^1.10
- zenstruck/console-test: ^1.8
Suggests
- symfony/stimulus-bundle: ^2.16|^3.0
- symfony/webpack-encore-bundle: ^1.14|^2.1
Provides
None
Conflicts
- doctrine/doctrine-bundle: <2.8
- doctrine/orm: <2.13
Replaces
None
This package is auto-updated.
Last update: 2026-11-17 17:08:56 UTC
README
whatwedoCronBundle
This bundle helps to run Symfony commands as cron job.
Features include:
- Define existing commands as cron job
- Schedule cron job with your system existing cron daemon or use integrated scheduler
- Set maximum runtime of cron jobs
- Allow/disallow parallel execution of a cron job
- Activate/disable cron execution
- Automated database cleanup
Note: this bundle is currently under heavy development
Documentation
The source of the documentation is stored in the docs folder. Jump to the master documentation
Known bugs
- The first execution of new CronJobs does not check the Cron Expresion
License
This bundle is under the MIT license. See the complete license in the bundle: LICENSE