refactoring: daily_stats cron code moved from mod_attachmentststs to com_dailystats