Files
uworld/checkuworld
2023-12-22 22:53:54 -05:00

11 lines
295 B
Bash
Executable File

#!/bin/sh
if (ps augxw | grep -i uworld | grep -v grep > /dev/null)
then
sleep 0
else
echo "* Uworld server started at" >> /ecn/ecnstf0/danny/dvmitche/uworld/uworldcronlog
date >> /ecn/ecnstf0/danny/dvmitche/uworld/uworldcronlog
/ecn/ecnstf0/danny/dvmitche/uworld/uworld > /dev/null &
exit 0
fi