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

gitwithravish's avatar

How to automatically restart a console command if it dies

I am running multiple console commands in production. Some commands including jobs processor dies somehow. I want to restart that process if it dies.

What could be a clean way to do this?

0 likes
0 replies

Please or to participate in this conversation.