PHP code example of jeroen-g / cronlog

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

    

jeroen-g / cronlog example snippets


protected function schedule(Schedule $schedule)
{
    $schedule->command('inspire')->everyMinute()->cronlog();
}

protected function schedule(Schedule $schedule)
{
    $schedule->command('inspire')->everyMinute()->cronlog('s3');
}
bash
php artisan vendor:publish --tag=cronlog.config