Nextdoor / ndscheduler

A flexible python library for building your own cron-like system, with REST APIs and a Web UI.
BSD 2-Clause "Simplified" License
1.08k stars 202 forks source link

Non-CronTrigger based jobs in scheduler break the web-ui. #64

Open fake-name opened 5 years ago

fake-name commented 5 years ago

Basically, I have a number of use cases that really require more flexible scheduling then can be achieved with the apscheduler CronTrigger.

Since the project is using apscheduler internally, it's fairly easy to add the ability to add jobs with custom triggers, but going to the web-ui causes the server to throw an exception.

It'd be nice to support other trigger types for display, if not necessarily adding via the web interface.