Skip to content

Scheduling periodic tasks #4665

Answered by fjetter
mivade asked this question in Q&A
Apr 1, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Scheduler itself does not appear to be documented along with

Indeed, the scheduler as a class is not documented. It is something which changes fairly frequently and I would advise caution to rely on any specifics which are not advertised otherwise as part of the API

I'm looking to schedule periodic tasks on workers and thus far it looks like there's not a canonical way to do this. My current thinking is to combine apscheduler and a Dask scheduler in a wrapper script, something like this:

I would go for a tornado PeriodicCallback which we are using in distributed all over the place.

To start this, I suggest to implement a plugin for this, which is our way to offer users a stable method…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mivade
Comment options

Answer selected by mivade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants