echo Current Date and Time is: date +"%Y-%m-%d %T"
Cool thanks! The time stamp maybe isn't working exactly?
# ./checkprocess.sh &
[1] 21935
me@ubuntu:~# Current Date and Time is: date +%Y-%m-%d %T
Process is Running
I threw this one together quickly. Sorry if that is not working but I would guess the rest is and should be helpful in keeping pools up and running