PHPackages                             hexalgo-labs/cron-style-scheduler-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. [CLI &amp; Console](/categories/cli)
4. /
5. hexalgo-labs/cron-style-scheduler-bundle

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

hexalgo-labs/cron-style-scheduler-bundle
========================================

Manage your automated commands execution by using annotation which use cron expression. Compatible with Symfony 4 and 5.

v1.0.1(3y ago)0308MITPHPPHP ^7.1|^8.1

Since Oct 25Pushed 3y ago1 watchersCompare

[ Source](https://github.com/hexalgo-labs/Cron-Style-Scheduler-Bundle)[ Packagist](https://packagist.org/packages/hexalgo-labs/cron-style-scheduler-bundle)[ RSS](/packages/hexalgo-labs-cron-style-scheduler-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (7)Versions (3)Used By (0)

Cron Style Scheduler Bundle
===========================

[](#cron-style-scheduler-bundle)

This bundle allow you to manage your automated command execution directly on your Symfony command with an annotation.

Install the bundle
------------------

[](#install-the-bundle)

To install this bundle you need to do two things:

- Add the dependency in your project with composer
- Add an entry in crontab to launch the main command every minute

### Install the dependency

[](#install-the-dependency)

You can install the bundle via composer this command

`composer require hexalgo-labs/cron-style-scheduler-bundle`

### Add an entry in crontab

[](#add-an-entry-in-crontab)

Add the following line in crontab

`* * * * * php /path/to/your/project/bin/console cron:run >> /dev/null 2>&1`

This command will be executed every minute, and will check if there is command which is due and launch it

### How to use it

[](#how-to-use-it)

On your Symfony command, add the annotation CronCommand with the cron expression on the class.

For example:

```
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Hexalgo\CronStyleSchedulerBundle\Annotation\CronCommand;

/**
 * @CronCommand("30 * * * *")
 */
class MyTestCommand extends Command
{
  public static $defaultName = 'app:test-command';

  protected function execute(InputInterface $input, OutputInterface $output) : int
  {
      return 1;
  }
}
```

This command will be executed every 30 minutes.

To help you to create the cron expression you can use .

Note for Windows user
---------------------

[](#note-for-windows-user)

When using this bundle with Windows, the command will not be executed in background when you start the command cron:run. The command will wait until all the launched commands are executed completely before finishing.

Hexalgo
-------

[](#hexalgo)

We are a french agency specialized in Symfony applications for business.

TO DO
-----

[](#to-do)

- Add command log
- Send email / notification after command completion (fail or success)
- Write tests

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~260 days

Total

2

Last Release

1453d ago

PHP version history (2 changes)v1.0.0PHP ^7.1

v1.0.1PHP ^7.1|^8.1

### Community

Maintainers

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

---

Top Contributors

[![CaptainFry](https://avatars.githubusercontent.com/u/3963545?v=4)](https://github.com/CaptainFry "CaptainFry (6 commits)")

---

Tags

cronsymfonysymfony-bundlesymfonycron

### Embed Badge

![Health badge](/badges/hexalgo-labs-cron-style-scheduler-bundle/health.svg)

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M577](/packages/shopware-core)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)[sulu/sulu

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

1.3k1.4M204](/packages/sulu-sulu)[open-dxp/opendxp

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

9421.6k61](/packages/open-dxp-opendxp)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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