Hi guys,
I would like to run my script between time 12.00-17.00
The script could be like this
but I want validation, if file1 was loaded before.
ignore it,
any idea, thanks.
I would like to run my script between time 12.00-17.00
The script could be like this
Code:
while [[ "$(date +%H%M)" -ge "1200" ]] && [[ "$(date +%H%M)" -le "1700" ]]
do
check directory dir
for file in *20061017
do
if $file hasnt loaded
load.ksh $file
sleep 50
fi
done
done
but I want validation, if file1 was loaded before.
ignore it,
any idea, thanks.