Another option along the same lines is to use Resque (with it's built
in web interface) to manage jobs:
   http://railscasts.com/episodes/271-resque
   https://github.com/defunkt/resque

And the gem resque-scheduler:
   https://github.com/bvandenbos/resque-scheduler
to schedule things to be added to queues at certain times.

There's a good blog post on it:
http://www.perfectline.ee/blog/cron-tasks-for-your-rails-application-with-resque

Cheers,
Chris


On Tue, Aug 30, 2011 at 1:22 AM, Michael Pearson <[email protected]> wrote:
> That's an excellent solution - in all honesty, I hadn't even thought of just
> using cron to add to the DJ queue.
> Each backup location manages its own backups - pull, not push, so multiple
> locations will be managed by chef.
> Any good drop-in dashboards for DJ? Or does it have its own that I haven't
> found yet?
> On Tue, Aug 30, 2011 at 11:18 AM, James Healy <[email protected]> wrote:
>>
>> On 30 August 2011 11:12, Michael Pearson <[email protected]> wrote:
>> > Yeah, we're already using delayed_job here, but as far as I can tell
>> > they
>> > solve different problems.
>>
>> I use delayed job to solve many of the issues you mention, but it
>> fails your multiple locations requirement.
>>
>> I have simple cron tasks that pop jobs(including backups) onto the
>> delayed job queue.
>>
>> Hoptoad is setup to track job errors and a simple rails controller
>> queries the delayed_jobs table to report failed, running and upcoming
>> jobs.
>>
>> However, there's no support for multiple queues so you won't easily be
>> able to backup multiple machines.
>>
>> James
>>
>> --
>> 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.
>>
>
>
>
> --
> 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].
> 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.
>

-- 
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