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…
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…
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…
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…
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 =…
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?
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!
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…
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…
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…
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,…
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…
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…
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,…