Add cronManager(), add graceful shutdown of cron