This Symfony bundle will allow you to schedule all your commands just like UNIX crontab
This bundle will allow you to easily manage scheduling for Symfony's console commands (native or not) with cron expression.
The following table shows the compatibilities of different versions of the bundle :
When using Symfony Flex there is an installation recipe.
To use it, you have to enable contrib recipes on your project :
composer config extra.symfony.allow-contrib true
- An admin interface to add, edit, enable/disable or delete scheduled commands.
- For each command, you define :
- symfony console command (choice based on native
- cron expression (see Cron format for informations)
- output file (for
- 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
See the documentation here.
This bundle is under the MIT license. See the complete license for info.