ndscheduler icon indicating copy to clipboard operation
ndscheduler copied to clipboard

Ability to run a task every few seconds

Open kartick opened this issue 8 years ago • 2 comments

Is it possible to run a task every few seconds with ndscheduler? I see that apscheduler allows running tasks using seconds. Inspecting the ndscheduler code, it looks like that seconds are not passed to add_job.

And the scheduler wakes up every 60 seconds; my guess is this can be customized via settings

kartick avatar Sep 21 '17 19:09 kartick

+1 for this. otherwise would be perfect

dave7280 avatar Feb 27 '18 10:02 dave7280

https://github.com/Nextdoor/ndscheduler/pull/59 adds support for using apscheduler interval scheduled jobs.

The ability to create them isn't exposed in the web UI, but you can programmatically add them, and they render correctly and can be manually triggered.

To use it, you specify the apscheduler trigger directly when adding a job to the scheduler.

fake-name avatar Jul 16 '19 22:07 fake-name