Skip to content

judgedim/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 master

Add to your /deps file :

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

If you are using Symfony v2.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

<?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.

Install the assets:

app/console assets:install

About

A cron table manager bundle for Symfony2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 94.1%
  • JavaScript 5.9%