#!/bin/ksh TIMER=10 while : do perl script.pl sleep $TIMER done #### my $TIMER = 10; while (1) { do "/path/to/your/script.pl"; sleep $TIMER; }