# Your script logic goes here bash /data/data/com.termux/files/home/.custmScrpt/initProcess.sh # Save the script path script_path=$(readlink -f "$0") # Sleep for 5 seconds and then execute the script again (sleep 300 && exec "$script_path") &