I guess it might help to understand what your code is trying to do.

But if this is the code you want to execute when the server starts:

#do some magic and start the cron

You could just put that in an initializer, and it will be executed when the 
server starts.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to