#! /bin/bash SCRIPT_DIR="$( cd $( dirname "${BASH_SOURCE[0]}" ); pwd )/" while true; do pkill -9 Dump.sh $SCRIPT_DIR/Dump.sh sleep 10 done