Re: App level function to happen every X minutes 24-7
Re: App level function to happen every X minutes 24-7
- Subject: Re: App level function to happen every X minutes 24-7
- From: Bill Reynolds <email@hidden>
- Date: Tue, 21 Sep 2004 22:28:42 -0700
Andrus,
This is just what I was looking for. Thanks!
Found great samples at:
http://www.javapractices.com/Topic54.cjp
and
http://java.sun.com/developer/J2METechTips/2001/tt0416.html
Thanks again for the tips,
-Bill
(I liked Marks 'cron' idea combined w/direct actions - I'm saving this idea
for use elsewhere)
on 9/21/04 14:38, Andrus Adamchik at email@hidden wrote:
> If you don't need to initiate request response loop, a simple Java
> timer should do the job:
>
> http://java.sun.com/j2se/1.4.2/docs/api/java/util/Timer.html
>
> Andrus
>
> On Sep 21, 2004, at 5:22 PM, Mark W. Shead wrote:
>
>> We did this by creating a direct action that calls the appropriate
>> functions and then setting up a cron job that calls the direct action
>> URL once each minute.
>>
>> Mark
>>
>> On Sep 21, 2004, at 5:08 PM, Bill Reynolds wrote:
>>
>>> I want to create a function that fires every X number of minutes
>>> through the
>>> day. What is the best way to implement this?
>>>
>>> TIA
>>>
>>> -Bill
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> com
>
> This email sent to email@hidden
_______________________________________________
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