Managing schedules
Starting, stopping and viewing active schedules
Stopping schedules
There are two ways schedules can be stopped:
- In the case of a
meya.schedule
loop, your bot can implement a stop flow usingmeya.schedule_stop
component that allows your user to stop (or unsubscribe) from the loop - Any scheduled state transitions will be available in the web console and be viewed and terminated using the big red stop button.
Tip!
The schedule viewer can be useful when you're debugging your bot to make sure you're setting the correct timing.
Conditional execution
Schedules can be combined with conditional
components to implement a polling strategy. For example, you could start a periodic loop that check for new sports scores in a game and then, if there are any, publish it to your user.
Rate limits
Read the rate limit section carefully to determine the best scheduling strategy that will stay within bounds.
Updated over 6 years ago