Jalankan pekerjaan Laravel Cron di Cpanel
/usr/local/bin/php /home/hosting-username/laravel-folder/artisan schedule:run >> /dev/null 2>&1
Itchy Ibis
/usr/local/bin/php /home/hosting-username/laravel-folder/artisan schedule:run >> /dev/null 2>&1
//App\Console\Kernel
protected function schedule(Schedule $schedule)
{
$schedule->call(function () {
DB::table('recent_users')->delete();
})->daily();
}
/usr/local/bin/php /home/hosting-username/public_html/laravel-folder/artisan queue:work