I don't know if Dynamic Jobs really fits my case. I may be missing something important here though.
But is this an option:
once the above mentioned method returns success:
- worker.perform(updated_at)
- within worker at end of perform:
- if `updated_at` less than 24 hours before `now` => spawn worker after an hour
- if `updated_at` greater than 24 hours before `now` => spawn worker after 12 hours
- if `updated_at` more than 2 weeks ago => do nothing
Im new to workers or sidekiq. so please forgive my ignorance.
Thanks