Questions tagged [resque-scheduler]

resque-scheduler is a scheduler for resque jobs

resque-scheduler (https://github.com/resque/resque-scheduler) is a scheduler for resque (https://github.com/resque/resque) jobs

87 questions
9
votes
3 answers

Resque-Scheduler not working with ActiveJob in Rails 4.2

Has anyone been able to get scheduled jobs to work in Rails 4.2? I am using resque, and I am attempting to use resque-scheduler to schedule jobs. I have a schedule that get loaded and the scheduler runs, and even looks like it is running the jobs…
7
votes
1 answer

Fetch Resque jobs scheduled with resque-scheduler

I'm working on a rails app that uses resque and resque-scheduler to schedule email sending. Is there a way to get a list of all the scheduled jobs, or even better a list of jobs that have a specific argument? I've tried a few things like…
jovana
  • 131
  • 7
7
votes
1 answer

Rails4: Why resque worker is not picking up jobs

I am using resque and resque_scheduler in my rails 4 app. My app is putting some jobs for resque, but they are not being worked upon by workers. reque-web shows no failure. I have started resque worker by running QUEUE=kqueue rake environment…
JVK
  • 3,782
  • 8
  • 43
  • 67
7
votes
3 answers

Resque-scheduler loading schedules but not enqueuing them

When I run rake resque:scheduler RAILS_ENV=production I get the following output: 2013-09-19 18:16:16 Reloading Schedule 2013-09-19 18:16:16 Loading Schedule 2013-09-19 18:16:16 Scheduling aa_job 2013-09-19 18:16:16 Scheduling bb_job 2013-09-19…
content01
  • 3,115
  • 6
  • 41
  • 61
5
votes
1 answer

Delayed job not entering into the main jobs queue after the mentioned delayed time lapses while using Resque-scheduler and redis

I need to perform a job wherein each time an order is created it is assigned to a vendor and if the vendor does not accept the order and updates the status within a specified time, the order is auto-rejected and the status updated to rejected. The…
5
votes
1 answer

Upgrade Rails 3.2 to 4.2 -> cannot load such file -- resque_scheduler/tasks

I'm trying to upgrade my Rails 3.2 project to Rails 4.2, including all of my dependencies in my Gemfile. I've removed the old version number restrictions from my Gemfile, deleted my Gemfile.lock, and bundle install. It's upgraded everything as I…
b0xxed1n
  • 2,063
  • 5
  • 20
  • 30
4
votes
0 answers

Resque scheduler does not runs always in rails production

Sorry if my question already exist and solved here, but nothing helps me. I have rails app. I have Resque working well. Now I want to make rescue-scheduler works with my delayed tasks. For example i want to send email with 30 seconds delay. My…
Garegin S
  • 51
  • 3
4
votes
1 answer

Resque scheduler log not writing to log file

I have an application with resque and resque-scheduler configured. The jobs all run fine and resque logs output to its log file. The resque-scheduler alos works fine, loading and processing the jobs as expected. The one problem I have is the…
Mark Davies
  • 736
  • 1
  • 7
  • 26
4
votes
2 answers

Show resque-scheduler tab in resque-web

I followed all instructions on resque-scheduler repo to show up the "Delayed" and "Schedule" tabs on the resque-web interface, but nothing! Here's the imported gems: gem 'resque', '~> 1.25.2', require: 'resque/server' gem 'resque-scheduler', '~>…
Simo
  • 464
  • 3
  • 16
4
votes
0 answers

Resque scheduled jobs are stuck in pending queue

I'm creating a DripEmail campaign for my app and using resque scheduler to schedule the tasks. I've sceduled a static job, which runs every day at a specific time and collect the user's list based on the drip settings and sends out an emailer to…
skmvasu
  • 3,098
  • 3
  • 24
  • 29
4
votes
1 answer

Dynamic Schedules getting lost while resque forks a new process

I'm using resque-scheduler to schedule dynamic crons based on user's input. My server stack is using Ubuntu 12.04 with passenger + nginx configuration. I've set Resque::Scheduler.dynamic = true and using set_schedule method with persist: true option…
3
votes
1 answer

Resque: how can i use specific worker for only one specific queue

in my rails 5 app i use resque and resque-scheduler for sending message to my customer.for that i created different different queue for messages and created 3 worker for sending message using queue. so, here my question is how can i use one specific…
3
votes
2 answers

Using Resque, Puma and Scheduler together on Heroku

After reviewing numerous guides I would like to confirm my setup. Right now my procfile looks like: web: bundle exec puma -C config/puma.rb config.ru resque: TERM_CHILD=1 RESQUE_TERM_TIMEOUT=10 QUEUES=* bundle exec rake resque:work worker: bundle…
Chris Hough
  • 3,389
  • 3
  • 41
  • 80
3
votes
3 answers

View Resque log output in Rails server logs

I've got a Rails 4 app on a Puma server with Resque/Resque-Scheduler running background jobs. What I'd like to know is how I merge the log output of my two Resque workers into my server log, or, of that is not possible, how I can view the log output…
2
votes
2 answers

Using Resque-Scheduler with Docker-Compose - Error connecting to Redis on localhost:6379

I'm trying to run my rails app, resque and redis. Using foreman etc my setup works fine but when I try to run it in Docker using docker-compose I get: app_1 | 21:03:13 resque.1 | Redis::CannotConnectError: Error connecting to Redis on…
baarkerlounger
  • 1,217
  • 8
  • 40
  • 57
1
2 3 4 5 6