Open DivakarUngatla opened 5 years ago
@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.
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(), it would be invoked as specified by the cron expression.