[api] Finished Cron implementation. Closes #18