PHP code example of netflex / scheduler
1. Go to this page and download the library: Download netflex/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/ */
netflex / scheduler example snippets
return [
'default' => env('QUEUE_CONNECTION', 'scheduler'),
'connections' => [
'scheduler' => [
'driver' => 'netflex',
'url' => 'https://site.domain'
],
]
];
dispatch(new App\Jobs\MyJob($arguments));