benten icon indicating copy to clipboard operation
benten copied to clipboard

Implement new ScheduledAction function similar to ActionHandler

Open DivakarUngatla opened this issue 5 years ago • 2 comments

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 avatar Jun 20 '19 18:06 DivakarUngatla

@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 avatar Oct 10 '19 17:10 tarungulati1988

@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.

DivakarUngatla avatar Oct 14 '19 15:10 DivakarUngatla