|
I need a script like this
while [ 0 -le 5 ] #which is infinite while loop
do
./my_function_which_prints_hi_every_5secs #written in C & stored
sleep 10
killall -9 ./my_function_which_prints_hi_every_5secs #shuld kill program
done
Last edited by shrao; 03-27-2007 at 09:36 AM..
|