Script to run infinite loop

Hi all,

I have a script which triggers batch admin manager and gets the top 10 jobs and their status info. the output of this script is the list of all these jobs. I want to run this in infinite loop which will show top 100 jobs' status.
the script is as follows
#!/bin/sh
exec &> capture1.txt
bam activejobs << st
x
st

Please help
Regards,
Raghav

while true
do
    your script here
done

Take care - an infinite loop might seriously damage the speed of your server!:eek: