Displaying 20 results from an estimated 3000 matches similar to: "how to use cronjob"
2012 May 22
3
[RESQUE]Question about queues
I run Resque with x ''general'' queues. With ''general'' I mean a queue that
may run every type of Worker. Or in the Rake command: COUNT=x QUEUE=*
rake resque:work
When a worker runs a job of a specific class, it may not run another job
of the same class simultaniously. This job has to wait until the
previous job has finished before it may start.
BTW The reason
2013 Sep 04
7
Shift from mongrel to webrick
Hi Everyone
I have installed mongrel gem and in my dev I can able to run my app on
mongrel but If I want to shift to webrick how can I shift easily with out
uninstalling the mongrel gem
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
2012 Aug 04
4
Rspec
Hi all i''m trying to learn Rspec testing can anyone suggest me the best
book to learn Rspec with good sample code.
Thanks in advance
--
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,
2013 Jul 24
12
Want to send password via SMS
Hi I am saving password with hashed_password and salt in table. Now I need
to send those passwords via SMS can it be possible.Kindly give me some
suggestion plz .
Thanks in advance
Cheers
--
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
2012 Sep 18
3
Nginx + Phusion Passenger 3 problem with "504 Gateway time-out"
Hi,
I have a Rails 3.2 app. There is a specific request that takes a long
time to execute. The context is, the user uploads a pdf, and then we
have some processing through carrierwave + rmagick that generate a
jpeg from the first page of the document. Everything works in dev mode
using both webrick and thin. The problem happens on the prod
environment with Nginx + Passenger.
The request takes a
2011 Apr 18
2
Problem with resque; parent process doesn't die
I am facing problem in resque process. I have following implementation:
/config/resque_schedule.yml
add_jobs_to_queue:
cron: "15 * * * *"
class: FooJob
description: "Find results from class Bar and put on queue"
/app/jobs/foo_job.rb
class FooJob
@queue = :normal
def self.perform
Bar.add_jobs
end
end
app/models/bar.rb
class Bar
def self.add_jobs
2012 May 09
5
Unicorn doesn't play nice with Capistrano deployment?
I am having issues when using unicorn with a Capistrano deployment.
>From what I have been able to understand Capistrano uses a scheme in
wich every release is deployed inside the releases directory under a
unique name and if the transaction was successful, creates a symlink
named current that will point to that release.
So I end up with a deployment directory such as:
2012 Feb 09
7
ruby script/server is not working
hi everyone i just typed ruby script/server -d and then after when i
type again it is not working. i got this error
[2012-02-09 16:19:54] WARN TCPServer Error: Address already in use -
bind(2)
Exiting
/usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize'': Address already
in use - bind(2) (Errno::EADDRINUSE)
from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `new''
from
2012 Jun 12
2
how to connect rails app using monodb
hi all
i ve installed monodb this is the first time ive installed it and don''t
have any idea how to use it. previously ive used MYSQL for my apps. now i
want to use monodb . can any one help me out how to use monodb . does it
have any interface just as MYSQL. as there is no yml file needed how do i
connect my app
thanks in advance
--
You received this message because you
2012 Jul 04
1
How to use wheneverize gem
Hi all i''m trying to use wheneverize gem to schedule my mails and to run a
specific file in controller.i tried but unable to send mails. i am using
rails 2.3.8 and ruby 1.8.7 . ive followed the
https://github.com/javan/whenever this link
Thanks in advance
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this
2011 Jan 15
4
Best practices for email delivery in production
In pre Rails 3 world I was using ar_sendmail to queue up emails. Then
I would setup a cron job every few minutes to deliver the emails. But
that doesn''t work perfectly in Rails 3. What is the best way to
deliver emails in production environment in Rails 3?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2012 Jul 20
2
scheduling mails in 2.3.8
Hi all,
How can i send mails in rails 2.3.8 and schedule them when i need it.
i''ve tried with whenever gem but it did not work properly . can any one
help me out .
thanks in advance
--
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
2011 Jan 24
1
passing multiple arguments in resque scheduler
Hi,
I have implemented resque scheduler in my application by looking at
example here https://github.com/bvandenbos/resque-scheduler. I have
configured resque_schedule.yml file, and in that I can pass arguments
to the resque job. My requirement is to pass more than one arguments
to the queueing resque job. If we consider the example given,
clear_leaderboards_contributors:
cron: "30 6 * *
2004 May 26
5
Windows XP and domain logon
Hello,
I have installed samba 3.0.2a as PDC and BDC, I am able to add windows xp to domain and have added all the registry patches to windows xp, but when it comes to domain logon on windows xp client, the behaviour is very erratic, sometimes I am able to logon to domain and sometimes the domain logon fails, we need to restart the xp machine and keep trying to the domain logon. The error we
2011 Aug 16
6
Unicorn logging in production env
Hi All, as I can see on
https://github.com/defunkt/unicorn/blob/master/lib/unicorn.rb#L53
the?Rack::CommonLogger used only in development env and in weird evn
called "deployment".
Any chance to add "production" to this case?
Serg Podtynnyi
2004 Jun 18
5
Slowdown on lots of motion
I'm playing the "Honey" movie (both Honey-small and Honey-large) and I notice
significant slowdown during periods of lots of motion (when the camera shakes,
when the first man hops into bed, when people turn around and approach the
camera, etc.). The audio plays smoothly all the time but when there is a lot
of motion, the picture freezes and resumes when there's less motion.
2013 May 28
5
Storing Rails controller callback data in session
http://stackoverflow.com/questions/16770090/storing-rails-controller-callback-data-in-session
The idea is:
- Perform some time consuming action in background.
- Have the results from that action be propagated back to the controller
using a callback.
- Store the result in an in memory session store.
- Have the result in session be used and available from that point
onward.
2013 Jan 16
6
Highload project on RoR
I need advice about What is the best practice to scale RoR project ?
My current stack is:
- Ruby 1.9.3
- RoR 3.2.8
- Redis DB for caching and some hot data
- PostgreSQL
- Resque for background jobs
I am expecting a highload for my project for several month. And I need to
change my architecture.
Primarily, I want to change my backend architecture. I read about highload
2011 Oct 08
5
How to automate the restarting of Unicorn?
Hi,
I have a question about automating the restarting of Unicorn with the
following steps, and much appreciate your help.
Assumption: (i) "pid" is set to unicorn.pid in the config file; (ii) a
Unicorn process is already running.
(1) kill -USR2 `cat unicorn.pid` (via Capistrano deployment task for example)
(2) Inside the "before_exec" hook in the config file, do: kill -QUIT
2014 Sep 29
3
help on samba-tng
Dear all,
This is an embedded firmware engineer Honey from China, and I am studying the samba and samba-tng, because the size of samba is too large to my development.
I want to port the samba-tng to embedded ARM Linux system, use the kernel version is 2.6.35, but I found the samba-tng can't be compiled by cross compiler(arm-none-linux-gnueabi-gcc).
And I can't