How to run the script for every second ?

crontab will help us to run/execute the script every minute ,however if we want run/execute the script for every second then below mentioned code is very useful.

-------------------------------------------------------------------
while(true);
do
/usr/bin/perl / appl/netcool/omnibus/utils/SAM_V5.1.pl > /tmp/SAM_V5.1log
sleep 30;
done
----------------------------------------------------------------------------

Note: successfully tested and its working.