[api] First pass at Cron functionality #18