PHP Cron tasks manager How this is works Features Installation Requirements Configure Screenshots Changelog
PHPhường Cron tasks managerThis is a flexible tasks manager designed for MVC-type applications. It"s used instead of standard linux crontab command.

Bạn đang xem: Github

The purpose of this tool is to lớn provide an easy way to manipulate repetitive sầu tasks.

Xem thêm: "‎Rất Dzui Là Gì ? Nghĩa Của Từ Mua Vui Trong Tiếng Việt Mua Vui Là Gì

Live Demo


How this is works

Replace all tasks in crontab tệp tin with one which will invoke method TaskRunner::checkAndRunTasks().

Xem thêm: Bí Quyết Làm Giàu Của Napoleon Hill Làm Giàu Như Thế Nào? 52 Bí Quyết Làm Giàu Của Napoleon Hill

Import tasks from current crontab file or add them manually. Active sầu tasks will run one by one if current time matches with the task"s time expression. đầu ra of tasks can be handled. For each execution will be assigned status:

Success if method returned true;Error if method returned false or an exception was caught;Started if task is running or wasn"t ended properly.


Works with any storage enginesFlexible implementation with interfacesDisable, enable & run tasks through tool interfaceHandle tasks output however you wantTime expression helper shows next run datesMonitor runs resultsExport and import tasks from crontabAdd needed method for new task from dropdown


Install package via Composer

composer require mult1mate/cron-manager


PHPhường 5.3 or above


Create tables if you want khổng lồ store data in database (SQL queries in DbHelper class)Implement TaskInterface và TaskRunInterface or use predefined classes from the Example folderCopy & modify controller và views. Or create your own.Import tasks through interface or add them manuallyAdd new line into lớn crontab tệp tin that will invoke TaskRunner::checkAndRunTasks()Disable tasks that will be invoke through the managerMake sure that manager is not publicly availableSee also examples for ActiveRecord,CodeIgniter,Yii2,File storage

Chuyên mục: