PHP code example of win-local-inc / remote-cron
1. Go to this page and download the library: Download win-local-inc/remote-cron 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/ */
win-local-inc / remote-cron example snippets
[
'middleware' => [
'throttle:remotecron',
WinLocal\RemoteCron\Middleware\TokenAuth::class,
],
'path' => env('WINLOCAL_CRON_PATH', 'remote/cron'),
'queue_connection' => env('WINLOCAL_CRON_QUEUE_CONNECTION', 'redis'),
'token' => env('WINLOCAL_CRON_TOKEN'),
];