Update
I am such an idiot, it's clearly mentioned in the docs about adding a cron job to your server in order to run the scheduler: https://laravel.com/docs/8.x/scheduling#running-the-scheduler
Added the cron job and everything works smoothly )
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello there you awesome people,
I just tried using the laravel scheduler for the first time, but it seems like I did something wrong or for some reason, it's not working.
Using Laravel V. 8.82.0
app/Console/Kernel.php schedule function contains:
// Filtering Posts
$schedule->call('App\Http\Controllers\PostController@cronFilterPosts')->everyMinute();
P.S. - I think I don't have to add any cron job to the server for Laravel 8 (unlike 5.1 where it seems like we have to). Also, a weird thing which I wanna share is for some reason the cron job (Cpanel ones) doesn't seem to be working on my shared hosting, that's the whole reason how I ended up learning about scheduling and tried implementing it.
Update
I am such an idiot, it's clearly mentioned in the docs about adding a cron job to your server in order to run the scheduler: https://laravel.com/docs/8.x/scheduling#running-the-scheduler
Added the cron job and everything works smoothly )
Please or to participate in this conversation.