PHPackages                             setono/cron-builder - 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. setono/cron-builder

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

setono/cron-builder
===================

Generate a crontab from a config directory

v0.3.2(3y ago)225.9k↓33.3%2MITPHPPHP &gt;=7.4CI passing

Since Sep 3Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Setono/cron-builder)[ Packagist](https://packagist.org/packages/setono/cron-builder)[ RSS](/packages/setono-cron-builder/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (8)Dependencies (11)Versions (10)Used By (2)

Cron Builder - Generate a crontab from a config directory
=========================================================

[](#cron-builder---generate-a-crontab-from-a-config-directory)

[![Latest Version](https://camo.githubusercontent.com/734f2c5bd48d57351a12795a4d0e5489acdba19c5932ba46b42a01192160a2e2/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f63726f6e2d6275696c6465722f762f737461626c65)](https://packagist.org/packages/setono/cron-builder)[![Software License](https://camo.githubusercontent.com/b1fda2259fc396c48255aad099396ef480fca9455b11bb8f6b04a8cfe3ae5c62/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f63726f6e2d6275696c6465722f6c6963656e7365)](LICENSE)[![Build Status](https://github.com/Setono/cron-builder/workflows/build/badge.svg)](https://github.com/Setono/cron-builder/actions)[![Coverage Status](https://camo.githubusercontent.com/0fd0b4677831b21b3ead0c9bbf9fd190cb35ca7daf8b8779149dbf70b09f6911/68747470733a2f2f636f6465636f762e696f2f67682f5365746f6e6f2f63726f6e2d6275696c6465722f67726170682f62616467652e7376673f746f6b656e3d5747504c34374e30374d)](https://codecov.io/gh/Setono/cron-builder)[![Mutation testing](https://camo.githubusercontent.com/4370c0dcd647897a8f03f3fc627e8da8a32c33f54da7921fa3edc35f7190cd98/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532465365746f6e6f25324663726f6e2d6275696c646572253246312e78)](https://dashboard.stryker-mutator.io/reports/github.com/Setono/cron-builder/1.x)

Build your crontab from configuration files in your repository. The configuration files are written in PHP and can be placed anywhere in your repository.

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

[](#installation)

```
composer require setono/cron-builder
```

Usage
-----

[](#usage)

The following two code snippets outline the simplest usage of the cron builder.

**1. Add your commands**

```
