Automatic operation at application statup - once for each instance
Automatic operation at application statup - once for each instance
- Subject: Automatic operation at application statup - once for each instance
- From: François Reboursier <email@hidden>
- Date: Wed, 22 Mar 2006 14:32:27 +0100
Hi list,
I perform some maintenance operations at application startup by
catching the WOApplication.ApplicationDidFinishLaunchingNotification
It works fine in testing, but in deployment mode the maintenance code
is called many times (once for each instance): this is perfectly
logical.
Is there a way to get the current instance number (to only perform
the maintenance in instance #1 ) ?
is there an other way to call this method one time, and one time only ?
Thanks for your ideas!
Regards,
François _______________________________________________
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