ruby on rails - Ice cube, how to set a rule of every day at a certain time for Sidetiq/Fist of Fury -


itemprop = "text">

docs I thought it would be (everyday for 3pm) per

  daily .hour_of_day (15)  

What I am getting is a random mess. First of all, whenever I care for Hiroku, I am still executing it, and after that , Seemingly randomly So the latest push for Harkaku was 1:30 pm. It was executed: 1:30 pm, once in the afternoon, once in the evening at 4 pm, once in the evening 5.

Consider what is wrong?

Complete the code (note that this fury is for the fist of the fist but FoF is heavily influenced by Sidetiq so help Sidetiq users will be very good as well).

Outstanding Suckerpunch included: Job FistOfFury :: Repetition occurs repeatedly {daily.hour_of_day (15)} DEF Performance ActiveRecord :: Base.connection_pool.with_connection # Auto e-mail lenders tax Every other day if they have pending requests lender_array = Array.new list. Where (id: (Borrow.where (status1: 1) .all.pluck ("inventory_id"))). Each {| I Lender_release & lt; & Lt; I.signup.id} lender_array.uniq! Lender_array.each {| L InventoryMailer.outstanding_request (L) .deliver} End text

end

< P> Maybe you should use:

  repetition {daily.hour_of_day (15)}  

happens again instead of


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -