PHP code example of formatcc / yii2-schedule
1. Go to this page and download the library: Download formatcc/yii2-schedule 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/ */
formatcc / yii2-schedule example snippets
* * * * * php path/to/yii schedule/run --schedules=@app/config/schedules.php >> /dev/null 2>&1