add cron helper and cleanup for the html status generation