RE: Scheduling with WOTimer
RE: Scheduling with WOTimer
- Subject: RE: Scheduling with WOTimer
- From: "Xia, Wen" <email@hidden>
- Date: Tue, 2 Mar 2004 16:06:37 -0800
Thank you both. I will give them a try.
-----Original Message-----
From: Chuck Hill [mailto:email@hidden]
Sent: Tuesday, March 02, 2004 1:44 PM
To: Jonathan Rochkind
Cc: Xia, Wen; WOdev List List
Subject: Re: Scheduling with WOTimer
Or ask Google...
http://www.quartzscheduler.org/quartz/
Jonathan Rochkind wrote:
> 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.
>
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
It is a funny thing about life; if you refuse to accept
anything but the best, you very often get it."
-- W. Somerset Maugham
<shamelessPlug>
Practical WebObjects
http://www.amazon.com/exec/obidos/tg/detail/-/1590592964
</shamelessPlug>
_______________________________________________
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.