• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
command line EOF + WOContext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

command line EOF + WOContext


  • Subject: command line EOF + WOContext
  • From: Michael DeMan <email@hidden>
  • Date: Sat, 4 Feb 2006 13:01:45 -0800

Hi All,

I have a new (old for me) twist on the old WebObjects command-line start up type stuff.

We run nightly jobs for accounting and other things, and I need to be able to mail out WOComponents for statements, trouble ticket reminders, etc.

The only way I have ever been able to get a command line WOApplication to be able to do this was to have it send itself a bogus WORequest and then call session() from the direct action in order to get it to instantiate a session, and thereby, a WOContext.

I am wondering if there is a clean programmatic way to do this.

I have taken numerous tries at this issue over a couple of years and cannot figure out any other way to do it.  I always get NULL WOContext in the ways that I have tried, etc

I know it may seem odd to even want a WOContext from a command line batch job, but I gotta have that in order to get my e-mail WOComponents, at least it seems that way to me.

Thanks,


Michael DeMan


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: WOBuilder + Webkit Any Chance?
  • Next by Date: WebObjects & javaeoutil (database <---> ascii)
  • Previous by thread: Re: WOBuilder + Webkit Any Chance?
  • Next by thread: RE: command line EOF + WOContext
  • Index(es):
    • Date
    • Thread