to copy and repeat

Hi All,
I have done some looking at other threads but haven't found quite what I am looking for. I am a newbie to scripting and haven't got to where I want to you but here is my basic question. I have a script to copy a file and send it to another file with a date and time stamp. What I want to do is to be able to repeat this command within the script to happen every 30 (or 45 or 60) minutes. I have looked at doing a cron job but want more maual intervention to start and stop the script. So I am looking to just have the commands in the script repeat itself after a sleep. Here is the script I have so far:

#! /bin/sh
for i in `ls sband_log_error`
do
mv $i labfiles/int/sband/$i$(date +%F-%T)
done

Thanks,
falcondown01

use 'sleep n'
--------------------------
Usage: sleep NUMBER[SUFFIX]...
or: sleep OPTION
Pause for NUMBER seconds. SUFFIX may be `s' for seconds (the default),
`m' for minutes, `h' for hours or `d' for days. Unlike most implementations
that require NUMBER be an integer, here NUMBER may be an arbitrary floating
point number.

Thanks younggun, should it be inserted at the end of the mv command?

Thanks for the info,
falcondown01

whether inserted at the end of the mv command is determind by the 'sleep code' infront of the mv command or behind.

Hi younggun,
Thanks for the info. I was able to finish this script today. Below is the final script and it worked for copying this file i need over and over.

#! /bin/csh
while 1
cp -p file_name /directory/to/copy/to/file_name'date '+%d%h%y_%T''
sleep 1800
end

Again Thanks for the help!
Falcondown01:b: