I'm running a web server that uses PHP5 and SQlite for database queries. I have my crontab set to reboot the machine at midnight each day.
Every few days, all of my files in the /var/www folder are gone along with the folder itself. Apache2 gives me a 404 error. When I restart Apache2, it fails because the /var/log/apache2 folder is deleted.
How can I stop this?