Skip to content

Questions on using this package for repeating jobs that a user can turn on and off #15

Answered by wildhart
jamauro asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jamauro, thanks for considering this package.

Your proposal above looks fairly solid and I think should meet your requirements. To answer your questions:

  1. I don't think so, your proposal looks sound.
  2. No, I think it makes sense to use the same function with a frequency parameter.
  3. See below.
  4. No, wildhart:jobs is designed from the ground-up so that the jobs only run on one of your servers - if that server stops then another server will take over the job queue after a short delay. Take a look at the parameters to Jobs.Configure, particularly the maxWait parameter and also make sure setServerId is not a constant string (which can be used to eliminate the wait period on single server deploy…

Replies: 1 comment 1 reply

Comment options

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

Answer selected by jamauro
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