dominium/command-scheduler-bundle

This Symfony2 bundle will allow you to schedule all your commands just like UNIX crontab

v1.2.6 2017-05-23 13:31 UTC

README

SensioLabsInsight Build Status Coverage Status Latest Stable Version

This bundle will allow you to easily manage scheduling for Symfony's console commands (native or not) with cron expression.

Version: 1.2.5

Compatibility:

  • Symfony 2.8 and 3.0
  • PHP 5.5, 5.6, 7.0
  • Doctrine ORM

If you use an older version of Symfony (2.3 to 2.7), use the last 1.1.x release

Features

  • An admin interface to add, edit, enable/disable or delete scheduled commands.
  • For each command, you define :
  • name
  • symfony console command (choice based on native list command)
  • cron expression (see Cron format for informations)
  • output file
  • priority
  • A new console command scheduler:execute [--dump] [--no-output] which will be the single entry point to all commands
  • Management of queuing and prioritization between tasks
  • Locking system, to stop scheduling a command that has returned an error
  • Monitoring with timeout or failed commands (Json URL and command with mailing)
  • Translated in french, english, german and spanish

Screenshots

list

new

new2

Documentation

See the documentation here.

##License

This bundle is under the MIT license. See the complete license for info.