Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 21 lines (16 sloc) 477 Bytes
#!/bin/bash
source /etc/profile
cd $(dirname $0)
#email=error.notify@keeptherecords.com
#!/bin/sh
# this is /etc/cron.daily/checkrealserver.cron, chmod 0750
email=error.notify@keeptherecords.com
progname=mda-server.scm
for ((a=1; a <= 58 ; a++))
do
if [ "$(pidof -x $progname)" = "" ]
then nohup ~/db/mda-server.scm ktr-db &
fi
sleep 1
done
# echo "rmserver found down on $(date +%m-%d-%Y)" | mail -s "$progname on $(hostname) down at $(date)" $email; fi
Jump to Line
Something went wrong with that request. Please try again.