Forum: Ruby on Rails Cron job calling Ruby script to interact with rails code

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.
blinking bear (Guest)
on 2007-03-21 16:55
(Received via mailing list)
I'm really naive on this subject, forgive me.  I need to write a cron
job
that will run a ruby script.  The script needs to be able to access my
rails
code.  What do I need to include/require in a .rb file to get access to
teh
same stuff as script/console?  And where does this file have to live?

thanks!
Zack C. (Guest)
on 2007-03-21 17:11
(Received via mailing list)
./script/runner

--
Zack C.
http://depixelate.com
This topic is locked and can not be replied to.