while (1) { sleep(50); # If it's a windows box, give yourself a little extra time. Trust me. my ($min, $hour) = (localtime(time))[1,2]; if ($hour == 11 && $min == 0) { # Do your 11:00 stuff } }