a simple scheduling program like crontab written in perl