PHPackages                             carles/scheduled-command-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. carles/scheduled-command-bundle

ActiveSymfony-bundle

carles/scheduled-command-bundle
===============================

Manage scheduled commands from Symfony

1.1.1(5y ago)024[4 issues](https://github.com/carlespibernat/scheduled-command-bundle/issues)MITPHPPHP ^7.1|^8.0

Since Aug 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/carlespibernat/scheduled-command-bundle)[ Packagist](https://packagist.org/packages/carles/scheduled-command-bundle)[ Docs](https://github.com/carlespibernat/scheduled-command-bundle)[ RSS](/packages/carles-scheduled-command-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (5)Used By (0)

Command Scheduler Symfony bundle
================================

[](#command-scheduler-symfony-bundle)

This bundle lets you schedule commands using the unix `at` command.

Installation
------------

[](#installation)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
composer require carles/scheduled-command-bundle

```

This command requires you to have Composer installed globally, as explained in the installation chapter of the [Composer documentation](https://getcomposer.org/doc/00-intro.md).

Usage
-----

[](#usage)

To schedule a command simply configure a `ScheduledCommand` and persist it:

```
use CommandSchedulerBundle\Entity\ScheduledCommand;

$scheduledCommand = new ScheduledCommand();

$scheduledCommand->setCommand("echo 'Happy New Year'");
$scheduledCommand->setDatetime(new \DateTime('01-01-2020 00:00:00'));

$this->getDoctrine()->getManager()->persist($scheduledCommand);
$this->getDoctrine()->getManager()->flush();

```

The bundle uses doctrine events to create an `at` job with the configured command. The command will be stored in a file under the configured directory.
The default directory is */tmp*, but feel free to change it in the configuration:

```
scheduled_command:
    temp_command_files_dir: /my/directory

```

At the moment this bundle is only working in unix environments where the `at` command is installed, but it would be nice to add Windows compatibility in the future.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~280 days

Total

4

Last Release

1968d ago

PHP version history (2 changes)1.0PHP ^7.1

1.1.0PHP ^7.1|^8.0

### Community

Maintainers

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

---

Top Contributors

[![carlespibernat](https://avatars.githubusercontent.com/u/3932656?v=4)](https://github.com/carlespibernat "carlespibernat (3 commits)")[![carlespibernatcreus](https://avatars.githubusercontent.com/u/22580945?v=4)](https://github.com/carlespibernatcreus "carlespibernatcreus (3 commits)")

---

Tags

schedulecommandbackend

### Embed Badge

![Health badge](/badges/carles-scheduled-command-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/carles-scheduled-command-bundle/health.svg)](https://phpackages.com/packages/carles-scheduled-command-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M308](/packages/easycorp-easyadmin-bundle)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k172.9M1.8k](/packages/symfony-security-bundle)[shapecode/cron-bundle

This bundle provides scheduled execution of Symfony commands

59493.0k2](/packages/shapecode-cron-bundle)[chameleon-system/chameleon-base

The Chameleon System core.

1026.5k3](/packages/chameleon-system-chameleon-base)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1714.8k8](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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