Rework and add scheduler to clear_reports.