PHPackages                             websolute/magento-cron-semaphore - 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. websolute/magento-cron-semaphore

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

websolute/magento-cron-semaphore
================================

This Magento 2 Module allows you to suspend and resume the cron execution programmatically

1.0.1(5y ago)00MITPHP

Since Mar 29Pushed 5y ago4 watchersCompare

[ Source](https://github.com/websolutespa/magento-cron-semaphore)[ Packagist](https://packagist.org/packages/websolute/magento-cron-semaphore)[ RSS](/packages/websolute-magento-cron-semaphore/feed)WikiDiscussions main Synced today

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

Magento 2 Module: CronSemaphore
===============================

[](#magento-2-module-cronsemaphore)

Purpose
-------

[](#purpose)

When you put the semaphore in red status, all the cron jobs are suspended until you programmatically call the resume method or after the timeout limit.

How to use
----------

[](#how-to-use)

Just inject the following manager:

```
\Websolute\CronSemaphore\Api\CronSempahoreManagerInterface $cronSempahoreManager

```

The use the `suspend(int $forSeconds = 300)` command to put the semaphore in red status:

```
$this->cronSempahoreManager->suspend();
$this->cronSempahoreManager->suspend(600); // Pass an integer that represents the timeout at 600 seconds

```

The use the `resume()` command to put the semaphore in green status:

```
$this->cronSempahoreManager->resume();

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

Total

2

Last Release

1921d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9f523fdfdc8d45b67ce2f06e26e9d8fad7e130e1fc0e8de493f75ed9989b3487?d=identicon)[websolutespa](/maintainers/websolutespa)

---

Top Contributors

[![daniloargentiero](https://avatars.githubusercontent.com/u/3659574?v=4)](https://github.com/daniloargentiero "daniloargentiero (2 commits)")

### Embed Badge

![Health badge](/badges/websolute-magento-cron-semaphore/health.svg)

```
[![Health](https://phpackages.com/badges/websolute-magento-cron-semaphore/health.svg)](https://phpackages.com/packages/websolute-magento-cron-semaphore)
```

###  Alternatives

[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)[baldwin/magento2-module-url-data-integrity-checker

Magento 2 module which can find potential url related problems in your catalog data

282822.9k](/packages/baldwin-magento2-module-url-data-integrity-checker)[nosto/module-nostotagging

Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

27703.7k4](/packages/nosto-module-nostotagging)[tig/postnl-magento2

TIG Magento 2 PostNL extension

59570.5k5](/packages/tig-postnl-magento2)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k24](/packages/loki-magento2-components)

PHPackages © 2026

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