Forum: Ruby on Rails Rails and Offline processing

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8396048b39279996e7ee6c1acdac2bf7?d=identicon&s=25 Berlin Brown (Guest)
on 2006-03-20 20:00
(Received via mailing list)
How are you guys handling threads or server processes that have to,
for example, process the data in your application on a periodic basis?

Cron jobs can do it and then run on the database.  But, are there ways
to launch threads within the rails application itself.

I have heard of WebBrick ways, but I am working with lighttpd,
fastcgi?  (textdrive if you are really interested).
59de94a56fd2c198f33d9515d1c05961?d=identicon&s=25 Tom Mornini (Guest)
on 2006-03-20 20:11
(Received via mailing list)
Look for rails_cron or script/runner.

--
-- Tom Mornini
3203ed0e608d3bfae1e31282e629ffa2?d=identicon&s=25 Peter Fitzgibbons (Guest)
on 2006-03-20 20:30
(Received via mailing list)
On 3/20/06, Tom Mornini <tmornini@infomania.com> wrote:
> >
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>

cron with script/runner.  Or in my case (windows), ScheduledTasks.

Works absolutely perfect!

Don't forget to apply "-e production" to your cron step.

--
8396048b39279996e7ee6c1acdac2bf7?d=identicon&s=25 Berlin Brown (Guest)
on 2006-03-20 20:45
(Received via mailing list)
Those all look interesting.  I wish rails_cron was a little bit more
mature.  But then again it may work perfectly out of the box.
59de94a56fd2c198f33d9515d1c05961?d=identicon&s=25 Tom Mornini (Guest)
on 2006-03-20 21:06
(Received via mailing list)
Why do you consider it immature?

Because of the revision number?

--
-- Tom Mornini
8396048b39279996e7ee6c1acdac2bf7?d=identicon&s=25 Berlin Brown (Guest)
on 2006-03-20 21:30
(Received via mailing list)
No, it says it on the wiki page.
59de94a56fd2c198f33d9515d1c05961?d=identicon&s=25 Tom Mornini (Guest)
on 2006-03-20 22:36
(Received via mailing list)
Good answer! :-)

<blush>

--
-- Tom Mornini
This topic is locked and can not be replied to.