Schedule tasks in shell script

shell=ksh,

How could I schedule tasks in shell script INSTEAD OF using the crontab -e functionality?

For example, I want a script to print "Hello World" every 10 seconds (i.e., INTERVAL = 10s) until external termination signal is triggered.

Thanks,

use sleep command

 
while [ 1 ]
do
echo "hello world"
sleep 10
done

and make sure you launch above code with "nohup" so if you logout/exit from shell, the code always runs.