search for: delayed_job

Displaying 20 results from an estimated 49 matches for "delayed_job".

2011 Jul 13
1
puppet-dashboard delayed workers
Hello I have just installed puppet dashboard from git. everything seems to load ok except it seems as though background tasks are not being run. According to the code README: running: # env CPUS=4 RAILS_ENV=production /.../script/delayed_job -p dashboard -n $CPUS -m start will start the worker. however it seems as though it is not running (or if it is how can I check?) and the back ground task section in the web front end is not decreasing. the version is 1.1.9 Thanks Nathan -- You received this message because you are subscribe...
2009 Aug 29
1
Delayed_Jobs Failed: Where to Check Logs/Errors?
I am using delayed_job. It generally works but on one method I am calling the job always fails. I checked my rails logs and that does not show anything. The action is simply completed. Are there logs or someway to check details on what is happening with delayed_jobs? I know when I send it normally/synchronously, it c...
2011 May 20
0
delayed_job - Undefined method error even with Mongrel
Any delayed_job gurus out there? This is a known issue on the wiki as described at the bottom here: https://github.com/collectiveidea/delayed_job/wiki/Common-problems However, even when running Mongrel (on Rails 3.0.3, ruby 1.9.2, Win7) after replacing Webrick) I am still getting this issue. My delayed_job handle...
2011 Apr 10
0
Delayed_job: how to raise and log exceptions
...nto my rescue clause. Am I confused that if I have something wrapped in an begin..rescue that any exception below it should raise up to this clause, or am I just having flashbacks of how C# handles it? Anyway, what I need is a strategy to send a message and do something if anything goes wrong in my delayed_job. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/...
2011 May 25
0
indentify delayed_job with display_name
...elayed::Job.enqueue(my_job, 0, 1.hour.from_now) job.name # => "MyJob-User-1" job.handler # => "--- !ruby/struct:MyJob \nuser_id: 1\n" This is great and this is exactly what I need. I am just wondering that I never read the display_name menthod before. Is that only for the delayed_job objects or is that possible for every active record? Where is that display_name stored? Thanks in advance! Sebastian -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39...
2010 Dec 11
0
Rails 3 - Delayed_Job (collectiveidea), trying to Delay Mailers - Error: NoMethodError (undefined method `delay' for UserMailer:Class):
Hello, I have the following in an observer: UserMailer.delay.msg_notification(record) In user_mailer.rb class UserMailer < ActionMailer::Base ... def msg_notification(record) mail( :to => "#{record.user.email}", :subject => "Notification" ) end .. end But this errors with: NoMethodError (undefined method `delay'' for
2010 Aug 02
0
delayed)_job gem installation issue
here is my environment.rb config.gem ''collectiveidea-delayed_job'', :source => ''http:// gems.github.com'' >>gem list | grep coll collectiveidea-delayed_job (1.8.2) The gem infact got installed via rake gems:install. but now when I start my app, it doesn''t recognize the gem being installed. Please help. script/gener...
2012 Jul 06
2
ActionMailer::Base.deliveries returns array with duplicated elements in production env
...ing from my app and I have a scenario that passes in test env but not in production. When I make dump of ActionMailer::Base.deliveries I saw that it returns array with duplicated elements in production env but not in test env. I am using sqlite3 for test env and mysql for production. Also I use delayed_job. Does anyone had the same issue? Thanks in advance :) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/cGG19A9jbxsJ. To post to this grou...
2012 Mar 06
1
Issue with pe-dashboard-workers
...urns the following message: pe-dashboard-workers dead but pid file exists Given the suggestions, (and a bit of online help) I then navigated to / opt/puppet/share/puppet-dashboard and ran the rake db:migrate command and got the following message: DEPRECATION WARNING: Rake tasks in vendor/plugins/delayed_job/tasks are deprecated. Use lib/tasks instead. (called from /opt/puppet/share/ puppet-dashboard/vendor/rails/railties/lib/tasks/rails.rb:10) rake aborted! no such file to load -- sinatra/base Since I couldn''t figure out how to get sinatra/base loaded (perhaps that''s a solution), I...
2011 Aug 15
2
Delayed_Job: code working fine without .delay / with .delay it fails. Why?
Hi all, I wrote a simple code to set up the "pit_id" from a village table from 1 to 2, from 2 to 3 and so on. It works fine without .delay . But i need it so whats wrong with that code? #village_controller def post_info @village = Village.find(params[:id]) @village.delay.upgrade flash[:notice] = "Upgrading" redirect_to village_url(@village) end
2011 May 17
1
uninitialized constant Delayed::Job (NameError)
hi I am implementing delayed_job in my rails app. *my code is:* file name is: my_worker.rb require "delayed_job" require "rubygems" class MyClass def perform while true do puts "I am in My class!!!" sleep 2 end end end Delayed::Job.enqueue( MyClass.new ) #m.perform...
2013 Nov 22
4
Delayed JOB ISSUE
Hi all I am using delayed jobs to send sms I am using "http://github.com/tobi/delayed_job/tree/master". In my other website my delayed job is working fine. Recently I have took one new domain in the same server which I have my other app''s which are working fine. Now the issue is after taking new domain and running the old app with new domain delayed job is not working...
2012 Nov 05
3
Announce: Puppet Dashboard 1.2.13 Available
Puppet Dashboard 1.2.13 is a maintenance and bugfix release of Puppet Dashboard. This release is available for download at: https://downloads.puppetlabs.com/dashboard/puppet-dashboard-1.2.13.tar.gz Debian packages are available at https://apt.puppetlabs.com RPM packages are available at https://yum.puppetlabs.com See the Verifying Puppet Download section at:
2011 May 22
6
How to capture correctly a specific exception
I a using delayed_job, and I am raising an exception this way : config/initializers/custom_exceptions.rb class RemoteLockerException < StandardError; end class RemoteLockerDenied < StandardError; end lib/instruction_request_job.rb class InstructionRequestJob < Struct.new(:style, :request_id) def per...
2012 Jun 08
2
MySQL settings for puppet dashboard
Hello Group, I have a problem with pending tasks in puppet-dashboard after I set the MySQL parameter autocommit = 0 and sql_mode = TRADITIONAL. Does the dashboard need autocommit to be enabled? Workers are running: env RAILS_ENV=production script/delayed_job status delayed_job: running [pid 4995] delayed_job: running [pid 5019] Regards Kai -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/pM59imDBUlAJ....
2010 Aug 09
0
Logging form delayed job class
I have asked this before without any luck, trying again. this is what I have in my dj.rb initializer Delayed::Worker.backend = :active_record Delayed::Worker.logger = Rails.logger #Delayed::Worker.logger = ActiveSupport::BufferedLogger.new("log/ ##{Rails.env}_delayed_jobs.log", Rails.logger.level) class Delayed::Job def logger Delayed::Worker.logger end end if JobsCommon::check_job_exists("PeriodicJob").blank? Delayed::Job.enqueue PeriodicJob.new(), 0, Constants::PROCESS_FREQ.from_now end #end This is my job class class Periodic...
2010 Sep 30
0
upgrade to Rails3 question
Hi! After upgrading to Rails3 and the latest plugins, two of the plugins: delayed_job and oauth_plugin don''t work. They display a similar problem, I am not able to use methods they provide. In delayed_job''s case I can''t use Model.delay.method (undefined method) and with oauth_plugin adding oauthenticate in the controller returns undefined method too. Cou...
2012 Nov 19
6
puppet-dashboard - rake API not working
...vendor/gems has no specification file. Run ''rake gems:refresh_specs'' to fix this. config.gem: Unpacked gem factory_girl-1.3.3 in vendor/gems has no specification file. Run ''rake gems:refresh_specs'' to fix this. DEPRECATION WARNING: Rake tasks in vendor/plugins/delayed_job/tasks are deprecated. Use lib/tasks instead. (called from /usr/share/puppet-dashboard/vendor/rails/railties/lib/tasks/rails.rb:10) </snip> ...I fail to find any info on this online ... has anyone else seen this? Thanks, //Jacob. -- You received this message because you are subscri...
2013 Jan 02
3
puppet-dashboard load balanced report processing issues.
I just upgraded the second half of a two node puppetmaster cluster and now I am having issues with puppet-dashboard report processing. If I have workers running on both servers, they try to process each others reports, but since the report data file is not there, it fails. I would have assumed this data was local, not in the database. Does anyone else have this issue, or have a suggestion
2009 Dec 05
7
ActionMailer dont function with JRuby?
I have application that i send email normal with native ruby. But when i execute the sample application with jruby, it dont send email and dont get error. What can be wrong? -- Atenciosamente, Paulo Coutinho. Blog: www.prsolucoes.com/blog Site: www.prsolucoes.com Msn: paulo-QE/7f1ia5mR0ubjbjo6WXg@public.gmane.org -- You received this message because you are subscribed to the Google Groups