• 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: Stop one instance at a time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stop one instance at a time


  • Subject: Re: Stop one instance at a time
  • From: Hsu <email@hidden>
  • Date: Mon, 15 Sep 2003 13:43:14 -0700

For all your applications, create a direct action that just calls WOApplication.application().refuseNewSessions(true), then just invoke that action at appropriate intervals using curl/wget and a cron job (or manually, even).

Karl

On Monday, September 15, 2003, at 09:06 AM, email@hidden wrote:

Hello,

Any idea how one can stop instances one at a time?

Using scheduling is not an option, because in WebObjects 5.2 the interval between scheduled shutdowns is one hour minimum.

I was thinking of simulating a "user session" so that the instance wouldn't shut down until it is its turn. Or maybe doing a setTimeout in Application.isTerminating?

Thank you for your suggestions,

-- Denis.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.



--

<Claws out, butt wiggle, butt wiggle, hunch, hunch/>
<POUNCE/>

Homepage:
     http://homepage.mac.com/khsu/index.html
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Stop one instance at a time (From: email@hidden)

  • Prev by Date: upload file transfer speed?
  • Next by Date: EOModel: retrieving tableattributes
  • Previous by thread: Stop one instance at a time
  • Next by thread: upload file transfer speed?
  • Index(es):
    • Date
    • Thread