Forum: Ruby on Rails how to tell server to do <something> once ?? or schedule thi

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.
14b7344777a56ac9a1fad849f5d6da2a?d=identicon&s=25 sayoyo Sayoyo (sayoyo)
on 2006-04-06 15:58
(Received via mailing list)
Hi,

I have some initialisation need to be done only when
the server starts. And I don't know where should I
pull those codes, should I pull them into some special
controller, or some place else....

Also if I want to schedule some task with rails, it is
possible???


Thanks you very much????


Saiho


The mind is its own place, and in itself.
Can make a Heaven of Hell, a Hell of Heaven.

http://www.geocities.com/sayoyo/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
A5d8283732da86365736508fef6c1c67?d=identicon&s=25 Nuno (Guest)
on 2006-04-06 16:12
Code in environment.rb is run once only (I presume but quite sure)

For scheduling have a look here : http://www.ruby-forum.com/topic/59283
This topic is locked and can not be replied to.