• 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: Scheduling with WOTimer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scheduling with WOTimer


  • Subject: Re: Scheduling with WOTimer
  • From: Jonathan Rochkind <email@hidden>
  • Date: Tue, 2 Mar 2004 15:08:17 -0600

I didn't even think there _was_a WOTimer in WO 5.2.2 anymore. At any rate, I don't think there's any good reason to use WOTimer instead of an ordinary java.util.Timer. I think WOTimer is probably just there for backwards compatibility. You can probably find lots of examples of java.util.Timer on the web; you don't need WO specific examples, just use an ordinary java.util.Timer as normal.

[If your timed code uses EOF, make sure you lock() all your EOEditingContexts etc! Timed code is running in it's own thread.]


--Jonathan

At 12:01 PM -0800 3/2/04, Xia, Wen wrote:
Hi all,

I'm a WebObject newbie.  I'd like to schedule some functions in my
application to run on specific days of the week, and at specific time of the
day.  I came across WOTimer class in the WebObject 5.2.2 API.  But I could
not find any good examples about how to make use of it.  If you have
successfully implemented WOTimer, could you please share your code with me?
If there are other solutions besides WOTimer, please advise.  Any info is
appreciated.

Wen
_______________________________________________
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.
_______________________________________________
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.


  • Follow-Ups:
    • Re: Scheduling with WOTimer
      • From: Chuck Hill <email@hidden>
References: 
 >Scheduling with WOTimer (From: "Xia, Wen" <email@hidden>)

  • Prev by Date: Scheduling with WOTimer
  • Next by Date: Navbar Question...
  • Previous by thread: Scheduling with WOTimer
  • Next by thread: Re: Scheduling with WOTimer
  • Index(es):
    • Date
    • Thread