PHPackages                             amadeus-m/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. amadeus-m/cron-bundle

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

amadeus-m/cron-bundle
=====================

Symfony cron

2.0.4(7y ago)08.7k1MITPHPPHP &gt;=5.5.9

Since Feb 23Pushed 7y ago1 watchersCompare

[ Source](https://github.com/amadeus-m/Cron-Symfony-Bundle)[ Packagist](https://packagist.org/packages/amadeus-m/cron-bundle)[ RSS](/packages/amadeus-m-cron-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (19)Used By (0)

Cron Bundle
===========

[](#cron-bundle)

[![Packagist](https://camo.githubusercontent.com/177774c7e5f6e00df21a01894d0ce7d699dc2b1c938148bb146def6a327f554b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63726f6e2f63726f6e2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cron/cron-bundle)[![Build Status](https://camo.githubusercontent.com/886f22c61a6179a84eb391bb7fd2dd8ec4119c9b52ad47b9a9262b46d482e30e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f43726f6e2f53796d666f6e792d42756e646c652e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Cron/Symfony-Bundle)[![Packagist](https://camo.githubusercontent.com/767225113d0a1c157b91544a47a4e59849955214a1ffc1f1d94589fcfd6fcb62/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f43726f6e2f43726f6e2d42756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cron/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:

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

2. Add the bundle to your application kernel:

```
// app/AppKernel.php
public function registerBundles()
{
    // ...
    $bundle = array(
        // ...
        new Cron\CronBundle\CronCronBundle(),
    );
    // ...

    return $bundles;
}
```

3. Update your DB schema

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

4. Start using the bundle:

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

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

```

**OR**If you don't have a dedicated cron daemon (e.g. in Heroku), you can use:

```
bin/console cron:start # will run in background mode, use --blocking to run in foreground
bin/console cron:stop # will stop the background cron daemon
```

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

[](#available-commands)

### list

[](#list)

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

Show a list of all jobs. Job names are show with `[x]` if they are enabled and `[ ]` otherwise.

### create

[](#create)

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

Create a new job.

### delete

[](#delete)

```
bin/console cron:delete _jobName_
```

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

### enable

[](#enable)

```
bin/console cron:enable _jobName_
```

Enable a job.

### disable

[](#disable)

```
bin/console cron:disable _jobName_
```

Disable a job.

### run

[](#run)

```
bin/console cron:run [--force] [job]
```

> 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.

### start

[](#start)

```
bin/console cron:start [--blocking]
```

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

[](#stop)

```
bin/console cron: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](http://github.com/Cron/CronBundle/issues).

Requirements
------------

[](#requirements)

PHP 5.5.9 or above

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

[](#author-and-contributors)

Dries De Peuter -  -

See also the list of [contributors](https://github.com/Cron/CronBundle/contributors) who participated in this project.

License
-------

[](#license)

CronBundle is licensed under the MIT license.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 73.9% 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 ~92 days

Recently: every ~63 days

Total

17

Last Release

2617d ago

Major Versions

1.x-dev → 2.0.02018-06-30

PHP version history (3 changes)1.0.0PHP &gt;=5.3.0

1.2.1PHP &gt;=5.5.0

2.0.2PHP &gt;=5.5.9

### Community

Maintainers

![](https://www.gravatar.com/avatar/b66cb6087ce0bbb0b25c19617eff210eb07e99d31a1f82e5df3219fa3edf2541?d=identicon)[amadeus-m](/maintainers/amadeus-m)

---

Top Contributors

[![NoUseFreak](https://avatars.githubusercontent.com/u/879864?v=4)](https://github.com/NoUseFreak "NoUseFreak (51 commits)")[![akalineskou](https://avatars.githubusercontent.com/u/3526365?v=4)](https://github.com/akalineskou "akalineskou (3 commits)")[![lokhman](https://avatars.githubusercontent.com/u/7714105?v=4)](https://github.com/lokhman "lokhman (2 commits)")[![carcabot](https://avatars.githubusercontent.com/u/5592599?v=4)](https://github.com/carcabot "carcabot (1 commits)")[![dominikmank](https://avatars.githubusercontent.com/u/7710527?v=4)](https://github.com/dominikmank "dominikmank (1 commits)")[![Gemorroj](https://avatars.githubusercontent.com/u/885731?v=4)](https://github.com/Gemorroj "Gemorroj (1 commits)")[![ianitsky](https://avatars.githubusercontent.com/u/163327?v=4)](https://github.com/ianitsky "ianitsky (1 commits)")[![krisix](https://avatars.githubusercontent.com/u/680001?v=4)](https://github.com/krisix "krisix (1 commits)")[![andreypaa](https://avatars.githubusercontent.com/u/1223590?v=4)](https://github.com/andreypaa "andreypaa (1 commits)")[![msamec](https://avatars.githubusercontent.com/u/4154034?v=4)](https://github.com/msamec "msamec (1 commits)")[![amadeus-m](https://avatars.githubusercontent.com/u/8872035?v=4)](https://github.com/amadeus-m "amadeus-m (1 commits)")[![raphaelvoisin](https://avatars.githubusercontent.com/u/7235385?v=4)](https://github.com/raphaelvoisin "raphaelvoisin (1 commits)")[![samnela](https://avatars.githubusercontent.com/u/1852108?v=4)](https://github.com/samnela "samnela (1 commits)")[![sedatsevgili](https://avatars.githubusercontent.com/u/7056609?v=4)](https://github.com/sedatsevgili "sedatsevgili (1 commits)")[![TakeMeNL](https://avatars.githubusercontent.com/u/53776685?v=4)](https://github.com/TakeMeNL "TakeMeNL (1 commits)")[![vstanchev](https://avatars.githubusercontent.com/u/9103789?v=4)](https://github.com/vstanchev "vstanchev (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[wallabag/wallabag

open source self hostable read-it-later web application

12.6k2.2k](/packages/wallabag-wallabag)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[mapbender/mapbender

Mapbender library

10117.4k5](/packages/mapbender-mapbender)[leapt/core-bundle

Symfony LeaptCoreBundle

2529.1k4](/packages/leapt-core-bundle)[zenstruck/redirect-bundle

Store redirects for your site and keeps statistics on redirects and 404 errors

2661.7k1](/packages/zenstruck-redirect-bundle)

PHPackages © 2026

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