Move some cron logic out into a separate class
doc improvement