#!/bin/bash while true do echo "`date +'%F %T'` testb.sh is running" sleep 1 done