I am building a Forge app, which will create Jira issues based on hourly, daily, and weekly schedules. We have 2 ways to do it:
- Use scheduled trigger feature of Forge with the key, function, and interval mentioned in
setIntervalin the forge UI of the app and invoke a function from the front end based on configured interval.
Do above both ways of implementing a scheduler are correct?
What is the recommended way to implement the scheduler feature?