Displaying 1 result from an estimated 1 matches for "startcron".
Did you mean:
startcom
2007 May 06
0
Initializing a Scheduler
...d for a scheduler to run from inside of my rails
application. I am familiar with Java (J2EE) and new to Ruby. In Java I
would have used a framework called Quartz. I would have created a
servlet and in the init method started up the Quartz framework. I have
created a new Ruby class and called it StartCron.rb in the Components
folder of my Rails app. I have been playing with the development.rb
file to test my class. I have done this:
[code]
config.after_initialize do
cron = StartCron.new
cron.run
end
[/code]
I get this error when I start WEBrick...
[code]
=> Booting WEBrick...
/usr/local/li...