- added a cron mode to the management commands