Please help with shell script

Irgendwelche Probleme mit XAMPP für Linux? Dann ist hier genau der richtige Ort um nachzufragen.

Please help with shell script

Postby somebi » 31. October 2010 14:57

I need to create a script for LAMPP, which will check mysql status and if it's down, restart it. I want to put it in cron tasks.

Thanks. :wink:
somebi
 
Posts: 1
Joined: 31. October 2010 14:54

Re: Please help with shell script

Postby Nobbie » 31. October 2010 15:42

Am besten schaust Du mal in das lampp Startscript, dort wird ja auch überprüft, ob MySQL schon läuft.

Allerdings frage ich mich nach dem Sinn eines solchen Cronjobs, denn wenn MySQL abgestürzt ist, hat das ja eine Ursache und die sollte man vielleicht erst einmal analysieren, bevor man blind wieder neu startet.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04


Return to XAMPP für Linux

Who is online

Users browsing this forum: No registered users and 14 guests