Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

alexui's avatar

Scheduler Not Working as Expected

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.

0 likes
1 reply

Please or to participate in this conversation.