search for: find_by_command

Displaying 1 result from an estimated 1 matches for "find_by_command".

2006 Jan 07
3
RailsCron 0.1 plugin
...it in familiar ways: RailsCron.create( :command => "Object.do_something()", :start => 2.minutes.from_now, :every => 12.hours, # default: 1.day :finish => 2.years.from_now # optional ) RailsCron.destroy_all RailsCron.find_by_command "some_command" Cron, when used with RoR, has the following shortcomings: * Significant startup resources required * Lots of RAM to run simultaneous processes * Hard to start/stop/affect the background processes from within Rails. RailsCron addresses these shortcomings by using one RoR...