On Nov 22, 2013, at 10:14 AM, honey ruby wrote:

> 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 until I run this command manually RAILS_ENV="production" rake 
> jobs:work. SMS is sending only I run this command. Don't know what is the 
> issue can any one help me.
> 
> Note : I have used same delayed job to send mails in my new app.
> 
> Kindly help me how to solve this issue. Rails 2.3.5 and ruby 1.8.7
> 
> 

Read this bit of the README:

https://github.com/collectiveidea/delayed_job/#running-jobs

I just went through this, and once you add daemons to your Gemfile and call one 
of those rake tasks to start the DJ server running independently in the 
background, you should be all set. When you use the jobs:work task, you are 
telling DJ to work until it's out of jobs, then quit.

Walter



> Thanks in advance
>  
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/64a592ab-09db-4312-8418-ec3369d8276b%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/B9E7BE18-1D44-483E-AC5B-868758C1BD0E%40wdstudio.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to