rodchyn / cron-manager-bundle
A cron table manager bundle for Symfony2
Installs: 438
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 40
Type:symfony-bundle
Requires
- php: >=5.3.3
- symfony/framework-bundle: 2.*
This package is auto-updated.
Last update: 2024-11-29 03:42:37 UTC
README
It is a bundle that provides a web interface for managing cron table.
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
Add to your /deps
file :
[BCCCronManagerBundle]
git=http://github.com/michelsalib/BCCCronManagerBundle.git
target=/bundles/BCC/CronManagerBundle
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.