For infinite loops in sh, I prefer the following:
while :
do
rrdtool ...
sleep 300
done
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20080926/000ede60/attachment.html