PHPackages                             bitweb/zf2-cron-module - 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. bitweb/zf2-cron-module

ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

bitweb/zf2-cron-module
======================

BitWeb ZF2 module for cron.

2.0.5(10y ago)1341.6k—2.8%6BSD-3-ClausePHPPHP &gt;=5.3.3

Since Mar 18Pushed 9y ago15 watchersCompare

[ Source](https://github.com/BitWeb/zf2-cron-module)[ Packagist](https://packagist.org/packages/bitweb/zf2-cron-module)[ Docs](http://bitweb.ee/)[ RSS](/packages/bitweb-zf2-cron-module/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (9)Versions (9)Used By (0)

[![Build Status](https://camo.githubusercontent.com/f3c4be32ef06bf4cece90cf922f890b1be1be4fd195d2acdf6f1081c952e6312/68747470733a2f2f7472617669732d63692e6f72672f4269745765622f7a66322d63726f6e2d6d6f64756c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/BitWeb/zf2-cron-module)[![Coverage Status](https://camo.githubusercontent.com/51c8aa79cd028943e6bc9424b94d9917fcfddb8debd6372f29fd1d903768b1fc/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f4269745765622f7a66322d63726f6e2d6d6f64756c652f62616467652e706e673f6272616e63683d646576656c6f706d656e74)](https://coveralls.io/r/BitWeb/zf2-cron-module?branch=master)[ZF2](https://github.com/zendframework/zf2) implementation for [Cron/Cron](https://github.com/Cron/Cron)
============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#zf2-implementation-for-croncron)

### Working with Zend Framework 3? [We've got you covered](https://github.com/BitWeb/zf3-cron-module).

[](#working-with-zend-framework-3-weve-got-you-covered)

### Installation

[](#installation)

Installation of CronModule uses composer. For composer documentation, please refer to [getcomposer.org](http://getcomposer.org/).

```
php composer.phar require bitweb/zf2-cron-module:2.0.*
```

or add to your composer.json

```
"require": {
  "bitweb/zf2-cron-module": "2.0.*"
}
```

Then add `BitWeb\CronModule` to your `config/application.config.php`

Installation without composer is not officially supported, and requires you to install and autoload the dependencies specified in the `composer.json`.

### Configuration

[](#configuration)

Add to your configuration:

```
'cronModule' => [
    'phpPath'    => 'php',
    'scriptPath' => '/path/to/application/public/folder/',
    'jobs'       => [
        [
            'command'  => 'index.php application cron do-job',
            'schedule' => '* * * * *'
        ],
        [
            'command'  => 'index.php application cron do-another-job',
            'schedule' => '0 * * * *'
        ]
    ]
]
```

General options:

OptionDescriptionphpPathpath to the php executable, usually "php"scriptPathpath to your applications public folder, defaults to your root aplication public folderjobsan array of jobs and their schedulestimeouttimeout for the cron jobOptions for cron jobs:

OptionDescriptioncommandthe php script command to be runscheduleA valid [Cron schedule](https://en.wikipedia.org/wiki/Cron)You can also get the configutation file sample from `config` folder `config/cronModule.config.php.dist`.

#### Run cron job from command line

[](#run-cron-job-from-command-line)

```
php index.php cron module start
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 70.7% 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 ~95 days

Recently: every ~154 days

Total

8

Last Release

3777d ago

Major Versions

1.0.1 → 2.0.02014-05-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed3aab3128caa0c1b5714b5b220e7e3098665afce1cd5ff0c031c9248b69857d?d=identicon)[tobre](/maintainers/tobre)

---

Top Contributors

[![rammrain](https://avatars.githubusercontent.com/u/4268477?v=4)](https://github.com/rammrain "rammrain (58 commits)")[![kristjanAnd](https://avatars.githubusercontent.com/u/7123229?v=4)](https://github.com/kristjanAnd "kristjanAnd (14 commits)")[![dorongutman](https://avatars.githubusercontent.com/u/719298?v=4)](https://github.com/dorongutman "dorongutman (4 commits)")[![nickurt](https://avatars.githubusercontent.com/u/5840084?v=4)](https://github.com/nickurt "nickurt (3 commits)")[![janjitsu](https://avatars.githubusercontent.com/u/1727447?v=4)](https://github.com/janjitsu "janjitsu (2 commits)")[![tobre6](https://avatars.githubusercontent.com/u/1629750?v=4)](https://github.com/tobre6 "tobre6 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bitweb-zf2-cron-module/health.svg)

```
[![Health](https://phpackages.com/badges/bitweb-zf2-cron-module/health.svg)](https://phpackages.com/packages/bitweb-zf2-cron-module)
```

###  Alternatives

[zf-commons/zfc-base

A set of genetic (abstract) classes which are commonly used across multiple modules.

1441.1M25](/packages/zf-commons-zfc-base)[snapshotpl/zf-snap-geoip

MaxMind GeoIP Module for Zend Framework 2

1512.9k](/packages/snapshotpl-zf-snap-geoip)

PHPackages © 2026

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