Implemented CRON for clearing index