How To Restart Apache Automatically After Crash?
Posted: Wed Oct 25, 2017 8:19 am
Restarting Apache Service Automatically If It is Fails
I am using this cron and it's working fine...
Edit Cron Tab....
And add this...
Thanks.
I am using this cron and it's working fine...
Edit Cron Tab....
Code: Select all
crontab -e
Code: Select all
* * * * * /usr/sbin/service apache2 status > /dev/null || /usr/sbin/service apache2 start