Linux script to check if php process is running

Closed - This job posting has been filled.

Job Description

I need a linux script that will check if a php process is running on my server, and if not, it will restart it automatically. You will also need to set up a cron job accordingly.

Skills: linux