Hey all. I'm trying use Capistrano for the purpose of third party backup audits. I've got a set of capistrano tasks that are happily able to compare a few checksums and report back. That's great, but I'd like to be able to automate this process via a web interface, and also schedule this task. I think a rails app would be a good fit to do that. The only way that I've figured out how to do that would be something like this
cap compare_checksums -S origin_server=some.server.com -S destination_server=somewhereelse.com It's cool, I can pass in all of the values I need to have something that's dynamically reusable. But I'm bothered by the fact that I would have to sort of exit my rails app to do it. Additionally, I would like the rails app to be able to send an email alert if there's something wrong with my checksums. Anyway, that solution just feels a bit clunky to me. Anyone know how to run capistrano and pass it variable from within my rails application? Would you advise doing so? And how about getting output back from my capistrano tasks for emailing out? Or can you think of an altogether better way to do it? Thank you! Cory -- * You received this message because you are subscribed to the Google Groups "Capistrano" 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/capistrano?hl=en
