See also this post if you’re searching for how to create scheduled tasks via the api
https://forums.fogproject.org/post/139328