PHPackages                             psf1/cron-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. psf1/cron-bundle

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

psf1/cron-bundle
================

Manage dynamically cron jobs with requests, or command, in your PHP site.

1.0.2(4y ago)02.0kGPL-2.0PHPPHP ^7.4 || ^8.0

Since Jun 4Pushed 4y agoCompare

[ Source](https://github.com/PSF1/CronBundle)[ Packagist](https://packagist.org/packages/psf1/cron-bundle)[ RSS](/packages/psf1-cron-bundle/feed)WikiDiscussions master Synced 5d ago

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

This bundle it's a fork from '[valentinmari/cron-bundle](https://github.com/vmari/CronBundle)', original code by Valentin Mari.

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

[](#installation)

1. Download CronBundle using composer
2. Enable the Bundle, if required
3. Define cron jobs in your config

### Step 1: Download CronBundle using composer

[](#step-1-download-cronbundle-using-composer)

Add CronBundle by running the command:

```
$ composer require psf1/cron-bundle
```

Composer will install the bundle to your project's `vendor/psf1` directory.

### Step 2: Enable the bundle

[](#step-2-enable-the-bundle)

Edit your .env file and set the `LOCK_DSN` value.

```
# /.env.local

LOCK_DSN=flock

```

If you are using Flex this step it's not required.

Enable the bundle in the kernel:

```
