Skip to content

Cancelling periodic jobs question #359

Answered by brandur
sheldondz asked this question in Q&A
Discussion options

You must be logged in to vote

It sounds like you got there already, but yes:

  • Individual jobs generated from a periodic job configuration of course get persisted to the database, but periodic job configuration does not. If you want that to survive across restarts, either define it in code, or you'll need to store your own configuration somewhere out of band.
  • The periodic job handles that are used to remove a periodic job configuration after being added are not stable across restarts. They're only valid as long as the process is running.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by brandur
Comment options

You must be logged in to vote
0 replies
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
Converted from issue

This discussion was converted from issue #358 on May 18, 2024 06:34.