Download the PHP package tarasovich/symfony-cron-commands without Composer
On this page you can find all versions of the php package tarasovich/symfony-cron-commands. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tarasovich/symfony-cron-commands
More information about tarasovich/symfony-cron-commands
Files in tarasovich/symfony-cron-commands
Package symfony-cron-commands
Short Description Tools to declare symfony commands as cron tasks
License MIT
Informations about the package symfony-cron-commands
Symfony Cron Commands Bundle
Tools to declare symfony commands as cron tasks (Linux cron config generation and command lock listener)
Interfaces:
- CronCommandInterface - general cron command, you need to declare getCronInterval(): string
- LockedCronCommandInterface - enables lock listener on the command
- LoggedCronCommandInterface - enables output redirection for the command in linux config generation
- LockedLoggedCronCommandInterface - enables lock listener and output redirection
Installation
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:
Step 3: Configure the Bundle
Then configure the bundle by creating config/packages/cron_commands.yaml
:
All versions of symfony-cron-commands with dependencies
symfony/config Version ^5.0 || ^6.0
symfony/console Version ^5.0 || ^6.0
symfony/dependency-injection Version ^5.0 || ^6.0
symfony/http-kernel Version ^5.0 || ^6.0