in reply to cron functionality mimic in perl scripting
You would be better off using an event-loop system, many to choose from, and setup timers.