2017 © Pedro Peláez
 

symfony-bundle chronos-bundle

Object oriented cron job management for your Symfony2 project

image

helthe/chronos-bundle

Object oriented cron job management for your Symfony2 project

  • Tuesday, September 16, 2014
  • by carlalexander
  • Repository
  • 2 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Chronos Bundle

The Helthe Chronos Bundle provides an object oriented library for managing cron jobs both with crontab and programmatically in Symfony2., (*1)

Build Status, (*2)

Installation

Step 1: Composer

Add the following in your componser.json:, (*3)

{
    "require": {
        "helthe/chronos-bundle": "~1.0"
    }
}
````

### Step 2: Register the bundle

````php
<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Helthe\Bundle\ChronosBundle(),
    );
}

Step 3: Configure the bundle

The bundle comes with a sensible default configuration, which is listed below., (*4)

````yml helthe_chronos cache_dir: %kernel.cache_dir%/helthe_chronos crontab: default_user: ~ # If null, edits the crontab of the user running the command. executable: /usr/bin/crontab # Path to crontab executable. run_job: false # If true, will add the helthe:chronos:run command to crontab to be run every minute. enable_annotations: false # If true, allows for the use of annotations., (*5)


## Resources You can run the unit tests with the following command: ````bash $ cd path/to/Helthe/Bundle/XXX/ $ composer.phar install --dev $ phpunit

The Versions

16/09 2014

dev-master

9999999-dev https://helthe.co

Object oriented cron job management for your Symfony2 project

  Sources   Download

MIT

The Requires

 

by Carl Alexander

schedule cron crontab cron management scheduling cron job