Skip to content

Distinguish first-time processing of repeatable jobs #1738

Closed Answered by Thore1954
Thore1954 asked this question in Q&A
Discussion options

You must be logged in to vote

For anybody else looking for this, I found out that the count property in RepeatOptions does exactly this. It is set to 1 for the first job and keeps incrementing for later ones. There's just a weird bug where it would reset to 1 every time the app is shut down for long but if your app doesn't shut down then it's fine.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@Thore1954
Comment options

@manast
Comment options

Comment options

You must be logged in to vote
1 reply
@manast
Comment options

Answer selected by Thore1954
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants