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

dejan7's avatar

php artisan down and cron jobs

Yes, i'm too lazy to test it myself, sorry. What happens when i run php artisan down, will my cron jobs still be executed? Thanks

0 likes
1 reply
Kemito's avatar

I think no and i will tell you why

Mostly you will use some route to hit or laravel scheduler which overall first will boot whole laravel app itself which means it will hit the middleware before the route or any kind of stuff (if middleware is global as maintenance middleware is) In that case it will return that application is down state and will not execute the code

Please correct me if i am wrong.

Atleast if you hit some routes in your app then it will not execute 100% Maybe Laravel does some trick behind if so please correct me.

P.S. stop be lazy

Please or to participate in this conversation.