|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2015-05-29 (5 years ago) ||Not enough user ratings||Total: 167 ||All time: 8,632 This week: 330|
This package can run scheduled tasks in crontab using Symfony.
It is a version of a previously published package to parse and process cron files.
This version uses Symfony packages and structure with application command classes to execute several types of operations with cron files.
Currently it provides command classes to execute a task, cancel a task, import a task and get the status of a task.
This package can run scheduled tasks defined in a crontab file.
It can parse a file in the crontab format that defines the times and the command lines strings of programs that are scheduled to run regularly.
The package can start parallel processes to run the scheduled tasks when time comes.
- PHP version ~5.3.3.
- Module installed "pcntl" and "posix".
- All functions "pcntl" and "posix" removed from the directive "disable_functions".
- Symfony Console ~2.6
- Symfony Process ~2.6
- Symfony FileSystem ~2.6
- Symfony Finder ~2.6
1) Install composer
2) Follow in the project folder:
composer require dmamontov/symfony-phpcron ~2.0.0
composer.json your project will be added to the library
dmamontov/symfony-phpcron, who settled in the folder
vendor/. In the absence of a config file or folder with vendors they will be created.
If before your project is not used
composer, connect the startup file vendors. To do this, enter the code in the project:
Example of work
$cron = new Application();
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.