What's the best way to keep a PHP script running as a daemon?

后端 未结 9 1084
小蘑菇
小蘑菇 2020-12-24 03:37

What is the best way to keep a PHP script running as a daemon, and what\'s the best way to check if needs restarting.

I have some scripts that need to run 24/7 and f

9条回答
  •  一生所求
    2020-12-24 04:32

    I've had success with running a wget and sending the result to /dev/null on a shared server.

提交回复
热议问题