PHPackages                             bml/sentry-symfony-cron-monitor - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. bml/sentry-symfony-cron-monitor

ActiveSymfony-bundle[Logging &amp; Monitoring](/categories/logging)

bml/sentry-symfony-cron-monitor
===============================

Symfony cron monitoring integration for Sentry (http://getsentry.com)

1.0.4(2y ago)010.9k↓22.5%1MITPHPPHP ^7.2||^8.0

Since Nov 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/bOmBeLq/sentry-symfony-cron-monitor)[ Packagist](https://packagist.org/packages/bml/sentry-symfony-cron-monitor)[ Docs](http://getsentry.com)[ RSS](/packages/bml-sentry-symfony-cron-monitor/feed)WikiDiscussions main Synced 1mo ago

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

Sentry Cron Monitoring Symfony Bundle
-------------------------------------

[](#sentry-cron-monitoring-symfony-bundle)

### About

[](#about)

This extension allows to configure sentry cron monitoring with pretty much any scheduled jobs provider.

### Setup

[](#setup)

1. Make sure you setup base sentry-symfony extension
2. `composer require bml/sentry-symfony-cron-monitor`
3. Enable `SentryCronMonitorBundle` in your `bundles.php` or `Kernel` (it may be automatically added by SF flex)

### Usage

[](#usage)

Add cron monitoring slug and schedule to your command parameters. ref.

> ```
>  --cron-monitor-slug=CRON-MONITOR-SLUG                  if command should be monitored then pass cron monitor slug
>  --cron-monitor-schedule=CRON-MONITOR-SCHEDULE          if command should be monitored then pass cron monitor schedule
>  --cron-monitor-max-time=CRON-MONITOR-MAX-TIME          if command should be monitored then pass cron monitor max execution time
>  --cron-monitor-check-margin=CRON-MONITOR-CHECK-MARGIN  if command should be monitored then pass cron monitor check margin
>
> ```

example usage in crontab

```
0 0 * * *   user    /app/bin/console app:statistics:update --cron-monitor-slug=statistics_update_midnight --cron-monitor-schedule "0 0 * * *"

```

Optionally you can also set max run time and check margin (see  ref.)

```
0 0 * * *   user    /app/bin/console app:statistics:update --cron-monitor-slug=statistics_update_midnight --cron-monitor-schedule "0 0 * * *" --cron-monitor-max-time=5 --cron-monitor-check-margin=2

```

#### Crontab helper command

[](#crontab-helper-command)

The `bml:sentry-symfony-cron-monitor:add-schedule-argument-to-crontab` command will take crontab file path and will add the `--cron-monitor-schedule=THE_SCHEDULE` to lines containing `--cron-monitor-slug`.
This way the crontab file can be more DRY because you don't need to keep the --cron-monitor-schedule=THE\_SCHEDULE. Instead it's auto added during deploy/build. Just use this command in your ci/cd.

Development
-----------

[](#development)

Setup
-----

[](#setup-1)

Run `.docker/bin/setup-dev.sh {PHP_VERSION}`
eg. `.docker/bin/setup-dev.sh 8.1`
Default php version is 7.2 `.docker/bin/setup-dev.sh`

### Tests

[](#tests)

Run `.docker/bin/run-tests.sh`
For xdebug experience `.docker/bin/run-tests-xdebug.sh`
To run tests against specific php version use

```
.docker/bin/setup-dev.sh 7.4
.docker/bin/run-tests.sh

```

### php-cs-fixer

[](#php-cs-fixer)

Run `.docker/bin/run-php-cs-fixer.sh`
Beware this command internally runs `.docker/bin/setup-dev.sh 8.1` (changes container php-version)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.3% 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 ~3 days

Total

5

Last Release

909d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e5c0a52427b60d57b20681bcc29929ed7921fbf99b6457070b6ea2e589e95f9?d=identicon)[bmL](/maintainers/bmL)

---

Top Contributors

[![bOmBeLq](https://avatars.githubusercontent.com/u/1465880?v=4)](https://github.com/bOmBeLq "bOmBeLq (9 commits)")[![vadikdev](https://avatars.githubusercontent.com/u/1632382?v=4)](https://github.com/vadikdev "vadikdev (5 commits)")

---

Tags

symfonyloggingerrorscronsentry

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/bml-sentry-symfony-cron-monitor/health.svg)

```
[![Health](https://phpackages.com/badges/bml-sentry-symfony-cron-monitor/health.svg)](https://phpackages.com/packages/bml-sentry-symfony-cron-monitor)
```

###  Alternatives

[sentry/sentry-symfony

Symfony integration for Sentry (http://getsentry.com)

73661.4M66](/packages/sentry-sentry-symfony)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[bugsnag/bugsnag-symfony

Official BugSnag notifier for Symfony applications.

453.0M3](/packages/bugsnag-bugsnag-symfony)[macpaw/sentry-monolog-adapter

Sentry monolog logging bundle

25232.9k](/packages/macpaw-sentry-monolog-adapter)

PHPackages © 2026

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