I'm working on a rails application that will require a script scheduling and executing component. I have a variety of scripts that will have to be scheduled and run throughout any given day. Most of the scripts will complete a task and then insert data into a table within the Rails 3 application. I have both Ruby and JRuby scripts to schedule and run. Given these requirements does anyone have any thoughts on a approach to accomplish this. Also, ideally the scripts would run in the background. 

Thanks.