On 2/11/06, Yash <yashgt@yahoo.com> wrote:> Hi,
> I am writing a client-server rails app. The client and server maintain
> similar databases. Periodically, I would like them to synchronize their
> databases. For this, in the application, once the user logs in, I want
> to spawn a background process at the client that first sends the
> client''s new data and then receives the server''s new
data.
> I am thinking of using RailsCron for this. However, after installing
> RailsCron, I am not able to figure out how to start a background
> process. Do I have to explicitly start a program on command line, or can
> I do it from the client application itself? The README mentions a file
> called RailsCron.start. But this file is not present in the
> vendor\plugins\trunk directory.
> The client and server run on Windows XP.
> I am pretty new to Ruby and Rails. Can you please help me?
>
> Thanks,
> Yash
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
ruby script\runner "RailsCron.start"
Look on the Rails wiki for script/runner docs.
--
Kyle Maxwell
Chief Technologist
E Factor Media // FN Interactive
kyle@efactormedia.com
1-866-263-3261