Update check-process.sh

add do while .. repeat process automatically