GregHilston / Simple-Slack-Bot

Simple Python library for creating Slack bots.
https://greghilston.github.io/Simple-Slack-Bot/
MIT License
24 stars 9 forks source link

Implement new register function for time based events, with ranges #31

Open GregHilston opened 6 years ago

GregHilston commented 6 years ago

We should allow a function of code to be registered for a time event, or range of time.

Basically imagine we wanted a function to execute every morning between x and y, we should make that easy to do.

It'd be help for periodic tasks like hitting an external API or reseeding some model or DB.

GregHilston commented 4 years ago

I'd love to be able to decorate with hours, minutes, seconds or cron syntax.