in reply to Looping months and days
In unix their is a utlity i.e crontab
Importance of this utility is,you can set it to daily jobs
Path /etc/crontab
* * * * * path of the script
sec minu hours days years
I hope that it will fit for your application