PHPackages                             nicoren/cron-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. nicoren/cron-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

nicoren/cron-bundle
===================

Symfony cron

1.0.9(1y ago)043[4 issues](https://github.com/nicoren/cron-bundle/issues)MITPHPPHP &gt;=7.3

Since Apr 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/nicoren/cron-bundle)[ Packagist](https://packagist.org/packages/nicoren/cron-bundle)[ RSS](/packages/nicoren-cron-bundle/feed)WikiDiscussions main Synced 2w ago

READMEChangelogDependencies (7)Versions (13)Used By (0)

cron-bundle
===========

[](#cron-bundle)

Cron is schedule integration for symfony.
=========================================

[](#cron-is-schedule-integration-for-symfony)

[![Packagist](https://camo.githubusercontent.com/6fbfcf084f486914bd7abdd1a9b1036bd6c3a0533097d85dd13ebce4fa0308b4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e69636f72656e2f63726f6e2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nicoren/cron-bundle)[![Build Status](https://camo.githubusercontent.com/177f1f74c023fe98f5329584682540edda8824e2761255f046bde6b861b37688/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4e69636f72656e2f43726f6e2d42756e646c652e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Nicoren/Cron-Bundle)[![Packagist](https://camo.githubusercontent.com/b06c7463b88f0e22d9c59237d0a03d72bf78a49aff1e44bc83c6301fb96bd81e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f4e69636f72656e2f43726f6e2d42756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nicoren/cron-bundle)[![License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE)

[Cron](https://github.com/Cron/Cron) integration for symfony.

Installation
------------

[](#installation)

Installing this bundle can be done through these simple steps:

1. Add the bundle to your project as a composer dependency: With symfony Flex :

```
composer config extra.symfony.allow-contrib true
composer require nicoren/cron-bundle
```

without symfony Flex :

```
composer require nicoren/cron-bundle
```

2. Add the bundle to your application kernel : **If you don't use Symfony flex**

```
// app/AppKernel.php
public function registerBundles()
{
    $bundles = [
        // ...
        new Nicoren\CronBundle\CronCronBundle(),
    ];

    // ...
}
```

3. Update your DB schema

3.1. ( doctrine ORM)

```
bin/console make:migration
bin/console doctrine:migrations:migrate
```

3.2. ( doctrine odm)

```
doctrine:mongodb:schema:update
```

4. Configuration Overview: edit or create file config/packages/nicoren\_cron.yaml

```
# config/packages/nicoren_cron.yaml
nicoren_cron:
    db_driver: mongodb # other valid values are 'mongodb' and 'couchdb'
    job_class: Nicoren\CronBundle\Model\Job
    timezone: "Europe/Paris"
```

5. To run your cron jobs automatically, add the following line to your (or whomever's) crontab:

```
* * * * * /path/to/symfony/install/app/console cron:run 1>> /dev/null 2>&1

```

Available commands
------------------

[](#available-commands)

### list

[](#list)

```
bin/console cron:job:list
```

Show a list of all jobs.

### create

[](#create)

```
bin/console cron:job:create
```

Create a new job.

### delete

[](#delete)

```
bin/console cron:job:delete _jobId_
```

Delete a job. For your own protection, the job must be disabled first.

### enable

[](#enable)

```
bin/console cron:job:enable _jobId_
```

Enable a job.

### disable

[](#disable)

```
bin/console cron:job:disable _jobId_
```

Disable a job.

### run all jobs schelduled at current time

[](#run-all-jobs-schelduled-at-current-time)

```
bin/console cron:run
```

> which we borrowed from Symfony. Make sure to check out [php-cs-fixer](https://github.com/fabpot/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
------------

[](#requirements)

PHP 7.3 or above

Author and contributors
-----------------------

[](#author-and-contributors)

Nicolas RENAULT -

License
-------

[](#license)

CronBundle is licensed under the MIT license.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance42

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~157 days

Recently: every ~227 days

Total

10

Last Release

468d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/201ae488c13286647fc4df9107ba60f8e91e4b74b9e9aa673f51dc40e4b75a13?d=identicon)[nicoren](/maintainers/nicoren)

---

Top Contributors

[![nicoren-tangkoko](https://avatars.githubusercontent.com/u/9478056?v=4)](https://github.com/nicoren-tangkoko "nicoren-tangkoko (35 commits)")[![nicoren](https://avatars.githubusercontent.com/u/5912827?v=4)](https://github.com/nicoren "nicoren (26 commits)")

---

Tags

croncron-bundlejob-schedulesymfony-flexsymfony4symfony5

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nicoren-cron-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/nicoren-cron-bundle/health.svg)](https://phpackages.com/packages/nicoren-cron-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M373](/packages/easycorp-easyadmin-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M462](/packages/pimcore-pimcore)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k16.8k](/packages/prestashop-prestashop)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9317.2k55](/packages/open-dxp-opendxp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
