Skip to content

dinamic/BCCCronManagerBundle

 
 

Repository files navigation

Intro to CronManager

It is a bundle that provides a web interface for managing cron table.

Build Status

Features:

  • Displays cron table with time expression, command, output file, error file and comment
  • Can guess last execution time and status (based on log files)
  • Can display log files
  • Support edit/add cron entry
  • Includes shortcuts to easily get common time expression, symfony command and symfony log directory
  • Translated in english, french and german

Screenshots

Cron list

Cron form

Cron output

Installation and configuration:

Get the bundle

If you are using Symfony 2.1/2.2/master

Add BCCCronManagerBundle to your composer.json:

{
    "require": {
        "bcc/cron-manager-bundle": "dev-master"
    }
}

Now tell composer to download the bundle by running the command:

php composer.phar update bcc/cron-manager-bundle

If you are using Symfony 2.0.x

Add to your /deps file :

[BCCCronManagerBundle]
    git=http://github.com/michelsalib/BCCCronManagerBundle.git
    target=/bundles/BCC/CronManagerBundle
    version=origin/2.0

And make a php bin/vendors install.

Register the namespace (only for Symfony 2.0.x)
<?php

    // app/autoload.php
    $loader->registerNamespaces(array(
        'BCC' => __DIR__.'/../vendor/bundles',
        // your other namespaces
    ));

Add BCCCronManagerBundle to your application kernel

<?php

    // app/AppKernel.php
    public function registerBundles()
    {
        return array(
            // ...
            new BCC\CronManagerBundle\BCCCronManagerBundle(),
            // ...
        );
    }

Import the routing configuration

Add to your routing.yml:

#BCCCronManager routing
BCCCronManagerBundle:
    resource: "@BCCCronManagerBundle/Resources/config/routing.xml"
    prefix:   /cron-manager

You can customize the prefix as you wish.

Import the Assetic configuration

Add the Assetic configuration file to the imports section of your config.yml:

imports:
    - { resource: @BCCCronManagerBundle/Resources/config/assetic.yml }

About

A cron table manager bundle for Symfony2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published