@if (global_setting()->hide_cron_message == 0 || \Carbon\Carbon::now()->diffInHours(global_setting()->last_cron_run) > 48)
Set following cron command on your server (Ignore if already done)
@php try { $phpPath = PHP_BINDIR.'/php'; } catch (\Throwable $th) { $phpPath = 'php'; } echo '* * * * * ' . $phpPath . ' ' . base_path() . '/artisan schedule:run >> /dev/null 2>&1'; @endphp
Note: {{$phpPath}} in above command is the path of PHP on your server. Please enter the correct PHP path to make it work
@endif