You need to create an extension with a cron job and also attribute/attributes for that.
This topic will help you to get started:
Cron Job To Disable Product Magento 1.7 CE
There is also extension that should work in your installation (I assume you have Magento 1.5):