sidekiq - How to Chain Rails ActiveJobs -


i looking way able run active job serially. ideally, long running job 1 scheduled run @ time. running job 2 slated run after job 1 completes. job 3 waits job 2 run completion before starts , on.

i have admit rather new background jobs in rails using active job sidekiq job runner simple fire-and-forget tasks. active job because provides simple enough interface dive background jobs processing. can use sidekiq without having define workers, example.

for reference, have achieved similar on .net using excellent hangfire library has continuations pass id of parent job ensuring job run after parent job has completed.

it nice have clean , simple using sidekiq , active job alternative ways achieve same thing welcome. doesn't have sidekiq , active job.

the straightforward way to call third job within second job, , second 1 within first job


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -