Giter Club home page Giter Club logo

bcccronmanagerbundle's Introduction

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 and more

Add BCCCronManagerBundle to your composer.json:

In 2.1/2.2 :

    "bcc/cron-manager-bundle": "2.2.*@dev"

In 2.3 :

    "bcc/cron-manager-bundle": "v2.3.0"

In 2.4 (Twitter Bootrap 2.*) :

    "bcc/cron-manager-bundle": "v2.4.0"

In 2.4 (Twitter Bootrap 3.*) :

    "bcc/cron-manager-bundle": "v2.4.1"

In 2.6 and more :

    "bcc/cron-manager-bundle": "v2.6.*"

For Bootstrap 3 and symfony less than 2.6, do not forget to add your own Less filter like this in your config.yml :

    filters:
        less:
            node:       %node%
            node_paths: [%node_paths%]
            apply_to: "\.less$"

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 }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.