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

fix: schedule jobs from CronTask instead of running them directly #86

Merged
merged 1 commit into from
Nov 3, 2022

Conversation

dkarlovi
Copy link
Collaborator

@dkarlovi dkarlovi commented Nov 2, 2022

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets N/A

If the cronjobs take a while to execute, they might never get marked as "last run", making them run many many times. This fix schedules jobs instead, but marking them as run so they don't get double-run.

@dpfaffenbauer dpfaffenbauer merged commit 85f350e into dpfaffenbauer:master Nov 3, 2022
@dpfaffenbauer
Copy link
Owner

thanks @dkarlovi

@dkarlovi dkarlovi deleted the fix/schedule-crontask branch November 3, 2022 08:57
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.

2 participants