0

I am new to Ruby On Rails.
I am facing truble on creating a long running background job.
my target is to send notification to all the active users between two given dates on specific given hour interval.

Example:

send notification message after every 8 hours to all active users from March-9, 2016 to June-29, 2016

I already tried this with

gem 'sidekiq', '~> 4.1'

and succefully performed active job. but I am not able to schedule it.
I also tried

gem 'whenever', :require => false

but it creates static crone job which constantly run on spcific time interval. not for dynamic cron job.

is there any way I can do this efficiently.
please help me.

Edited by kaleemullah360: improvements

1
Contributor
0
Replies
11
Views
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.