You can use script/runner which loads the whole environment - this can be a significant slow down if you launch it each time. You're probably better off either having a background process running continuously that then sends off your messages or if you can work it with your security needs, a maintenance controller that you can get webpages as a poor man's RPC. I'm sure there are other ways, but the first one there's things out like workling that can do the background.
As to the stripped down page, I'm not sure. I know there are ways to call dryml tags as methods, but I haven't looked into it personally. On Sep 21, 12:55 pm, Steve VB <[email protected]> wrote: > I'd like to set up a system within Hobo to email contents of a page > (just contents, but no nav, header, etc.) on request, or scheduled. > > I'd likely make use of cron to do the scheduled stuff, assuming I can > request these pages from the command line/execute a ruby script from > the command line that did the work. > > My question is: is there an easy way to fetch a stripped down version > of a page (report/...) that I could send out with ActionMailer? > > Also, how would I have a script that was executed from the command > line load enough of the hobo environment in order to be able to make > use of it? > > Thanks! > > Steve. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
