added cron job for cleaning db.