if pgrep -f 'app'
then
    pgrep -f 'app' | xargs kill &&  echo "baru stop" > ./out_test.txt
else
    echo "udah di-stop" > ./out.txt
fi