• 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
Re: WO command line application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO command line application


  • Subject: Re: WO command line application
  • From: Paul Lynch <email@hidden>
  • Date: Wed, 28 Nov 2007 08:07:38 +0000

On 28 Nov 2007, at 07:59, Art Isbell wrote:

On Nov 27, 2007, at 9:51 PM, Helmut Schottmüller wrote:

I want to build a WO command line application to use EOF to fill up some databases. This application should be called by a cron job.
I think I have to use EOClientApplicationSupport... Does anyone know where I could find code examples on how to build a command line application with WO?

It might be easier to build a regular WO app with a direct action method that does your database filling. Have cron all that direct action.

Or just use the Application constructor to run your app, and exit by calling System.exit(0). That way you don't have to ensure that the application is running all the time, at the cost of slightly longer start ups.


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


References: 
 >WO command line application (From: Helmut Schottmüller <email@hidden>)
 >Re: WO command line application (From: Art Isbell <email@hidden>)

  • Prev by Date: Re: WO command line application
  • Next by Date: Re: WoResourceManager.stringForKey, slow app and out of memory errors
  • Previous by thread: Re: WO command line application
  • Next by thread: Re: WO command line application
  • Index(es):
    • Date
    • Thread