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

Schedules of type ONCE will selfdestruct with negative repeats #10

Merged
merged 1 commit into from
Jul 12, 2015
Merged

Conversation

Koed00
Copy link
Owner

@Koed00 Koed00 commented Jul 12, 2015

It makes more sense for schedules that only run once, to be deleted from the schedule after they have created a task by default. This way you can emulate delayed actions without clogging up the schedule database. If want to keep the result and schedule , set the repeats to a positive value.

This might break some things for some people, but I highly doubt it.

Koed00 added a commit that referenced this pull request Jul 12, 2015
Schedules of type ONCE will selfdestruct with negative repeats
@Koed00 Koed00 merged commit ea7115f into master Jul 12, 2015
msabatier added a commit to msabatier/django-q that referenced this pull request Jan 7, 2023
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.

1 participant