Skip to content
This repository has been archived by the owner on Dec 29, 2017. It is now read-only.

Plugin APScheduler: Database backend #9

Open
mattrasband opened this issue Jun 6, 2017 · 4 comments
Open

Plugin APScheduler: Database backend #9

mattrasband opened this issue Jun 6, 2017 · 4 comments

Comments

@mattrasband
Copy link

Auto post a message to a specific channel on a recurring schedule.

Use Case:

  • Weekly "Who's Hiring" thread
  • Weekly "Who's Looking" thread
@ovv ovv changed the title Plugin Idea: Auto post message on schedule Plugin Idea: Scheduler Jun 6, 2017
@ovv
Copy link
Member

ovv commented Jun 8, 2017

APScheduler seems a good library to implement that

@mattrasband
Copy link
Author

Yeah, I think that APScheduler is probably the best option - not sure the best way to integrate it with the bot framework. I guess we could pass in a scheduler instance to the plugin and they use that directly (or abstract it out and have a custom plugin type?)

@ovv
Copy link
Member

ovv commented Jun 8, 2017

I think it's best to make a custom plugin out of it, can of like the DB plugin so the core stay lighter.

Everyone might not need a scheduler and I don't really see a downside of doing it that way.

@ovv
Copy link
Member

ovv commented Jun 10, 2017

Still wondering if we need to have an optional database store for the job.

At the moment all jobs are recreated at startup so it's not needed but maybe it would be usefull

@ovv ovv changed the title Plugin Idea: Scheduler Plugin APScheduler: Database backend Jul 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants