1. Go to this page and download the library: Download sefirosweb/laravel-cronjobs 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/ */
return [
'prefix' => 'cronjobs', // Prefix path
'middleware' => ['web', 'auth'] // Use your self auth system,
];
return [
'prefix' => 'cronjobs',
'middleware' => ['web', 'auth', 'checkAcl:cronjob_edit'] // Create access list "cronjob_edit" and assign to role and user
];