Originally posted by: 8WYC_Ujwal_Modhukalya
use below script for resolving this issue, and run this master script as below
./script_name 1 &
1= for 1 hour, you can use this script argu for 1 hour , 2hours, 3 hours etc.
#!/bin/ksh
val=$(( $1 * 720 ))
while [[ $val -gt 0 ]]
do
echo " Remove this line and put your script here $val"
sleep 5
(( val -= 1 ))
done