My site uses wordpress and ubuntu. Lately its been crashing around 3 or 4 am each night. In the past I made a cron job to restart the database but that no longer seems to restart it. I need a script created so that when a browser cannot access the site the apache and mysql will restart.
This is a adult site.
Yes, I can build a script for restarting database site. Please message me for further discussion about the project. This is my portfolio: https://trickydevs.com.