⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
demo.lmsmonks.com
/
app
/
Console
/
View File Name :
Kernel.php
> /dev/null 2>&1 // run queue jobs $schedule->command('queue:work --tries=3 --stop-when-empty') ->everyMinute() ->withoutOverlapping(); $schedule->call(function () { Cache::forget('corn_working'); Cache::remember('corn_working', now()->addHours(24), function () { return 'working'; }); })->everyFiveMinutes()->name('cron_test')->withoutOverlapping(); //live mail notification send command $live_mail_send_minutes = cache()->get('setting')?->live_mail_send ?? 5; $cronExpression = "*/$live_mail_send_minutes * * * *"; $schedule->command('prenotification:live')->cron($cronExpression)->withoutOverlapping(); } /** * Register the commands for the application. */ protected function commands(): void { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }