Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update get_next_run_time to handle Paused jobs #23

Merged
merged 1 commit into from
Jun 4, 2018

Conversation

nialllo
Copy link
Contributor

@nialllo nialllo commented Jun 1, 2018

Paused jobs have next_run_time of None.

This change makes django_apscheduler.jobstores looks a bit more like apscheduler.jobstores.sqlalchemy which filters out the nulls and picks the earliest next_run_time.

Paused jobs have next_run_time of None.

This change makes django_apscheduler.jobstores looks a bit more like apscheduler.jobstores.sqlalchemy which filters out the nulls and picks the earliest next_run_time.
@sallyruthstruik
Copy link
Collaborator

Thank you for PR!

@sallyruthstruik sallyruthstruik merged commit 6e88843 into jcass77:master Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants