Gerard Seibert wrote:
I want to run a script from CRON that will check to see if MySQL is
running, and if not, restart it. I have had a problem with MySQL
shutting down unexpectedly.
This is my first attempt at writing the script.
#!/bin/sh
if (`ps -wxuU mysql | grep -o mysqld_safe`)
--On December 17, 2005 2:13:04 PM -0500 Gerard Seibert
[EMAIL PROTECTED] wrote:
Using FreeBSD 5.4
Please do not laugh. I absolutely suck at writing scripts. Someday I
might learn, but in the mean time, I need some assistance.
I want to run a script from CRON that will check to see if MySQL