It seems like what you want is relatively custom. Perhaps the best plan is to 
implement it yourself? As awful as it might sound a quick approach could be:

* Rails app with a Task Model rule:text script:file (use the text to work out 
how often to run it, use paperclip for the file)
* Rake task in that app which iterates over every task and checks if the rule 
applies, if so run the script and write the output to a Run model, if it fails 
email you and write the output to the Run model as an error
* Active Admin interface? Or your own CRUD solution even scaffolding would be 
fine.

Add features for things you want. Make sure it never dies. Run the rake task 
with a cron job that runs every minute/hour however often you want your 
granularity to be. Should probably also fork out the rake task incase it takes 
too long and misses another job. 

- Ben

On Tuesday, 30 August 2011 at 11:12 AM, Michael Pearson wrote:

> Yeah, we're already using delayed_job here, but as far as I can tell they 
> solve different problems.
> 
> On Tue, Aug 30, 2011 at 11:08 AM, Nicholas Faiz <[email protected] 
> (mailto:[email protected])> wrote:
> > I think https://github.com/tobi/delayed_job is a straightforward and Rails 
> > friendly way of doing it. I set it up once but went back to cron, as it was 
> > simpler for what we wanted.
> 
> 
> -- 
> Michael Pearson
> The Bon Scotts; http://www.thebonscotts.com
> 
>  -- 
>  You received this message because you are subscribed to the Google Groups 
> "Ruby or Rails Oceania" group.
>  To post to this group, send email to [email protected] 
> (mailto:[email protected]).
>  To unsubscribe from this group, send email to 
> [email protected] 
> (mailto:[email protected]).
>  For more options, visit this group at 
> http://groups.google.com/group/rails-oceania?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" 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/rails-oceania?hl=en.

Reply via email to