Set following cron command on your server (Ignore if already done)
* * * * * (Every Minute)
@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
@push('scripts')
@endpush