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
1
vote
1 answer

Scheduler Job not running in Rails 4

I have a rails app where an order is assigned to a vendor and the vendor has to accept the order within the next 15 minutes (for test purpose, I am keeping it to two minutes).Once the order is assigned to a vendor, status attribute in the…
Mahesh Mesta
  • 793
  • 1
  • 11
  • 28
1
vote
1 answer

Resque Scheduler running jobs but web client "Schedule" tab is empty

I have resque-scheduler set up and running a job every minute. The job runs correctly, though when I visit the Schedule table of the resque web client the table is empty. I would expect my job to show up on the Schedule tab like resque-schedule docs…
mattnedrich
  • 7,577
  • 9
  • 39
  • 45
1
vote
1 answer

Processing jobs in the background using Resque and Resque-scheduler

I'm building an iOS app using Ruby on Rails as the back-end. I need help with an issue while trying to use Resque and Resque-scheduler to run a delayed job in the future (using a 'deliveries' queue). Basically, my jobs work correctly when I run both…
1
vote
1 answer

resque scheduler unrecognized signal SIGUSR1

I have absolutely no idea how to run my resque scheduler. When i enqueue a single task and run it manually it works fine but when i try to implement resque scheduler using the command rake resque:scheduler --trace, i get ArgumentError: unsupported…
Michael Howe
  • 71
  • 1
  • 9
1
vote
0 answers

Resque Scheduler can't remove delayed job

I have Resque Scheduler running with a Rails 4 app and I'm finding it impossible to cancel queued jobs. I have the following method in my controller: class Employers::SocialMediaPostsController < ApplicationController def cancel post =…
Daniel Bonnell
  • 4,817
  • 9
  • 48
  • 88
1
vote
1 answer

Resque scheduler set dynamic to first run at a specific time

You can schedule dynamically as below: name = 'send_emails' config = {} config[:class] = 'SendEmail' config[:args] = 'POC email subject' config[:every] = ['1h', {first_in: 5.minutes}] config[:persist] = true Resque.set_schedule(name, config) What…
kreek
  • 8,774
  • 8
  • 44
  • 69
1
vote
1 answer

Is it safe to use redis for long-time-pending tasks in Rails via resque?

how safe it is to use Resque for long-time-pending tasks in Rails (for example: Resque.enqueue_in(7.days, JobClass)) with resque and resque-scheduler gems? Good to mention that instance is running on Heroku. What is the chance of losing queue?
xamenrax
  • 1,724
  • 3
  • 27
  • 47
1
vote
1 answer

rufus scheduler first monday every 3 months

Is there a way to do rufus-scheduler for first monday every 3 months? Is it '0 0 * 3,6,9,12 first#1'? I am trying to use resque-scheduler. It seems to depend on rufus version 2. Thanks!
nroose
  • 1,689
  • 2
  • 21
  • 28
1
vote
1 answer

ActiveJob with Resque Adapter (add delay/timeout function)

I'm planning to pass a multiple active job using a loop. But I need to have a delay/timeout function in each data loop. My code is like: for s in @saved_jobs # ADD delay funtion for each data to pass in ActiveJob Process # for ex. every data…
aldrien.h
  • 3,437
  • 2
  • 30
  • 52
1
vote
1 answer

job gets executed twice working with resque and rufus scheduler on development

I am working with resque and rufus scheduler. I have created two different queues for the two different resque jobs and able to execute both the queues. But I am facing one issue as both the queues are executing twice every time. Here is the…
1
vote
1 answer

How to start resque not using rails

I am using ruby (not rails) and I have install resque gem. According to the manual, I should start the workers using the following command: resque work But this command doesn't start the workers at all (I have checked that resque file in bin/ and…
meso_2600
  • 1,940
  • 5
  • 25
  • 50
1
vote
1 answer

how to get worker id when I enqueue a new work

How can I delete the enqueued task? Is there any returned id I can get when I enqueue a new task ? And I can remove the enqueued task by what method ? Thanks I append my work to queue Resque.enqueue(StreamingVerificationWorker,…
newBike
  • 14,385
  • 29
  • 109
  • 192
1
vote
0 answers

Resque scheduler recurring job update issue

I have a recurring job in my application that runs every 2 hours that got updated recently, and it seems the scheduler somehow has cached or ignored the changes made to this job. If I connect to the server via SSH and open the file I can see the…
josethernandezc
  • 160
  • 2
  • 12
1
vote
1 answer

How can I see what jobs have been queued with resque-scheduler?

If I enqueue a job using Resque.enqueue I can open up a snazzy interface at localhost:(whatever)/resque and see my queued jobs. But if I schedule a job using the resque-scheduler gem (e.g. by using Resque.enqueue_at(10.minutes.from_now, MyJob)), it…
GMA
  • 5,816
  • 6
  • 51
  • 80
1
vote
0 answers

Can't deploy app with capistrano-resque

I have an app using resque, capistrano and capistrano-resque gem, Here is my deploy.rb: role :resque_worker, "webmaster@url" role :resque_scheduler, "webmaster@url" set :application, 'app_name' set :repo_url, 'git@url' set :scm, :git set :branch,…
xamenrax
  • 1,724
  • 3
  • 27
  • 47