PHP code example of ccheng / yii2-task-scheduler
1. Go to this page and download the library: Download ccheng/yii2-task-scheduler library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ccheng / yii2-task-scheduler example snippets
return [
'modules' => [
'task' => [
'class'=>'ccheng\task\backend\Module',
]
...
]
];
php composer.phar
shell
php yii task-queue/scheduler