PHP code example of sinevia / php-library-scheduler

1. Go to this page and download the library: Download sinevia/php-library-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/ */

    

sinevia / php-library-scheduler example snippets




error_reporting(E_ALL);
ini_set('display_errors', true);
ini_set('display_startup_errors', true);

sh
* * * * * php /var/www/your-project/cron/scheduler.php >> /dev/null 2>&1