Re: WO command line application
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