added cron task to remove old stats