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).
on 2006-03-20 21:00
on 2006-03-20 21:11
Look for rails_cron or script/runner. -- -- Tom M.
on 2006-03-20 21:30
On 3/20/06, Tom M. <email@example.com> wrote: > > > _______________________________________________ > Rails mailing list > firstname.lastname@example.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. --
on 2006-03-20 21:45
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.
on 2006-03-20 22:06
Why do you consider it immature? Because of the revision number? -- -- Tom M.
on 2006-03-20 22:30
No, it says it on the wiki page.
on 2006-03-20 23:36
Good answer! :-) <blush> -- -- Tom M.