added cron manager, fixes #49