benten
benten copied to clipboard
Implement new ScheduledAction function similar to ActionHandler
Implement a ScheduledAction similar to ActionHandler.
While ActionHandler is triggered by a conversation from the chatbot ScheduledAction will be trigged by a cron expression provided to it. For example when a class is annotated with @ScheduleAction(<Cron expression>), it would be invoked as specified by the cron expression.
@DivakarUngatla I'd like to take a stab at this. My understanding is that i need to implement an annotation that wraps the @Scheduled
annotation of spring along with the same implementation for ActionHandler
@tarungulati1988 Yes you are right. ActionHandlers
help handle a conversation from slack. The intent of ActionScheduler
would be to trigger Actions on a timely basis rather than from a slack bot/chat bot.