PHPackages                             ezsystems/ezplatform-cron - 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. [CLI &amp; Console](/categories/cli)
4. /
5. ezsystems/ezplatform-cron

ActiveEzplatform-bundle[CLI &amp; Console](/categories/cli)

ezsystems/ezplatform-cron
=========================

Simple cron bundle for eZ Platform

v3.1.6(2y ago)35711.2k—8.6%5[1 PRs](https://github.com/ezsystems/ezplatform-cron/pulls)9GPL-2.0-onlyPHPPHP ^7.3 || ^8.0CI failing

Since Nov 28Pushed 2y ago19 watchersCompare

[ Source](https://github.com/ezsystems/ezplatform-cron)[ Packagist](https://packagist.org/packages/ezsystems/ezplatform-cron)[ Docs](https://github.com/ezsystems/ezplatform-cron)[ RSS](/packages/ezsystems-ezplatform-cron/feed)WikiDiscussions 3.1 Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (41)Used By (9)

Ibexa Cron
==========

[](#ibexa-cron)

This package exposes [cron/cron](https://github.com/Cron/Cron) package for use in eZ Platform (or just plain Symfony) via a simle command `ezplatform:cron:run`.

This is *not* a replacement for [cron/cron-bundle](https://github.com/Cron/Symfony-Bundle) but rather a simpler alternative to it which can more esaily grow into focusing more on eZ Platform needs in the future including e.g. support for handling cron jobs across a cluster install *(separating jobs that should run on all nodes vs jobs that should only be run on one at a time and a lock system to go with it for instance)*.

Setup system cron
-----------------

[](#setup-system-cron)

Pick your systems cron / scheduling and setup `ezplatform:cron:run` command to run every minute and optionally specifying category *(default: `default`)*:

Example for Linux crontab (`crontab -e`):

```
* * * * * /path/to/php app/console ezplatform:cron:run [ --category=default] >/dev/null 2>&1
```

Setting up own cron commands
----------------------------

[](#setting-up-own-cron-commands)

Setting up own cron jobs is as simple as tagging services for your existing Symfony Commands.

The tag takes the following arguments:

- `name`: `ezplatform.cron.job`
- `schedule`: *Takes any kind of [format supported by cron/cron](https://github.com/Cron/Cron#crontab-syntax), which mimics linux crontab format. E.g. `* * * * *`*
- `category`: *(Optional, by default: `default`) Lets you separate cronjobs that should be run under different logic then default, e.g. infrequent jobs (NOTE: Means end user will need to setup several entries in his crontab to run all categories!)*
- `options`: *(Optional, by default: `''`) Takes custom option/s in string format which are added to the command. (E.g. '--keep=0 --status=draft' for running the cleanup versions command)*

### Example

[](#example)

```
    date_based_published.cron.publish_scheduled:
        class: EzSystems\DateBasedPublisherBundle\Command\PublishScheduledCommand
        tags:
            - { name: console.command }
            - { name: ezplatform.cron.job, schedule: '* * * * *' }
```

Logging run command
-------------------

[](#logging-run-command)

If you want to log outputs of commands processed by run command you have to add the monolog channel `cronjob` to your configuration.

### Example

[](#example-1)

```
    monolog:
        channels: [...,'cronjob']
        handlers:
            cronjob:
                bubble: false
                level: info
                type: stream
                path: '%kernel.logs_dir%/cronjob.log'
                channels: [cronjob]
```

COPYRIGHT
---------

[](#copyright)

Copyright (C) 1999-2021 Ibexa AS (formerly eZ Systems AS). All rights reserved.

LICENSE
-------

[](#license)

This source code is available separately under the following licenses:

A - Ibexa Business Use License Agreement (Ibexa BUL), version 2.4 or later versions (as license terms may be updated from time to time) Ibexa BUL is granted by having a valid Ibexa DXP (formerly eZ Platform Enterprise) subscription, as described at: For the full Ibexa BUL license text, please see:

- LICENSE-bul file placed in the root of this source code, or
-  (latest version applies)

AND

B - GNU General Public License, version 2 Grants an copyleft open source license with ABSOLUTELY NO WARRANTY. For the full GPL license text, please see:

- LICENSE file placed in the root of this source code, or
-

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity47

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~62 days

Recently: every ~121 days

Total

39

Last Release

1083d ago

Major Versions

v2.0.5 → v3.1.12021-06-02

v3.1.2 → v4.0.0-alpha12021-10-04

v2.0.6 → v3.1.32021-11-10

2.0.x-dev → v3.1.52022-02-18

v2.0.7 → 3.1.x-dev2023-05-10

PHP version history (2 changes)v3.0.0-beta1PHP ^7.3

v3.1.4PHP ^7.3 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/681611?v=4)[Ibexa Bot](/maintainers/ezrobot)[@ezrobot](https://github.com/ezrobot)

![](https://avatars.githubusercontent.com/u/130489?v=4)[Łukasz Serwatka](/maintainers/lserwatka)[@lserwatka](https://github.com/lserwatka)

---

Top Contributors

[![adamwojs](https://avatars.githubusercontent.com/u/211967?v=4)](https://github.com/adamwojs "adamwojs (7 commits)")[![ibexa-yuna](https://avatars.githubusercontent.com/u/67897517?v=4)](https://github.com/ibexa-yuna "ibexa-yuna (7 commits)")[![alongosz](https://avatars.githubusercontent.com/u/7099219?v=4)](https://github.com/alongosz "alongosz (6 commits)")[![Nattfarinn](https://avatars.githubusercontent.com/u/5822569?v=4)](https://github.com/Nattfarinn "Nattfarinn (4 commits)")[![mnocon](https://avatars.githubusercontent.com/u/10993858?v=4)](https://github.com/mnocon "mnocon (4 commits)")[![webhdx](https://avatars.githubusercontent.com/u/10212760?v=4)](https://github.com/webhdx "webhdx (3 commits)")[![andrerom](https://avatars.githubusercontent.com/u/289757?v=4)](https://github.com/andrerom "andrerom (3 commits)")[![homarx](https://avatars.githubusercontent.com/u/20766803?v=4)](https://github.com/homarx "homarx (2 commits)")[![mateuszdebinski](https://avatars.githubusercontent.com/u/58430570?v=4)](https://github.com/mateuszdebinski "mateuszdebinski (1 commits)")[![mateuszbieniek](https://avatars.githubusercontent.com/u/38975612?v=4)](https://github.com/mateuszbieniek "mateuszbieniek (1 commits)")[![lserwatka](https://avatars.githubusercontent.com/u/130489?v=4)](https://github.com/lserwatka "lserwatka (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/ezsystems-ezplatform-cron/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[prestashop/prestashop

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

9.0k15.4k](/packages/prestashop-prestashop)[crunzphp/crunz

Schedule your tasks right from the code.

2292.0M6](/packages/crunzphp-crunz)

PHPackages © 2026

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