1 year ago

#355081

test-img

Ahmed Wagih Refaey

Kill a certain laravel artisan console command in scheduler

I got multiple console commands to be called in the background, when I use artisan schedule:list it returns all the jobs

schedule::list

I want to kill a certain task for debugging matters, or stop all the tasks, since there will be a command that fetches data will be run for days before it stops, therefore I want to be able to stop it at anytime to stop the load on the server or for debugging

I searched a lot and I couldn't find a way to do that

later I plan to make a console command to kill a certain command

my local env is windows, and the server is linux, I want to test on both environments before deploying online

thanks

laravel

scheduled-tasks

laravel-artisan

0 Answers

Your Answer

Accepted video resources