Hi,

we solved an similar requirement like this:

* in WOMonitor:  add an extra Instance with auto-recover = on
* in the app:
 - store the next execution time in the database


-  wait until it's time to the job
-  get the job done.
-  set the next execution time
-  application.terminate

As the WO-monitor will start the instance again, the instance will wait for 
next WE to execute the next job.



Regards

René


Am 13.07.2020 um 08:40 schrieb GILQUIN Pierre via Webobjects-dev 
<webobjects-dev@lists.apple.com<mailto:webobjects-dev@lists.apple.com>>:

Yes thanks but it’s a heavy job.
I started it with 9G memory and I really need to stop it and run it only the WE 
when users don’t use others apps.

Pierre


De : Amedeo Mantica [mailto:amedeomant...@me.com]
Envoyé : lundi 13 juillet 2020 08:36
À : GILQUIN Pierre
Cc : WebObjects-Dev
Objet : Re: Monitor scheduling

https://docs.oracle.com/javase/8/docs/api/java/util/TimerTask.html
Sent from my iPhone


On 13 Jul 2020, at 08:30, GILQUIN Pierre via Webobjects-dev 
<webobjects-dev@lists.apple.com<mailto:webobjects-dev@lists.apple.com>> wrote:

Hi,

I have a extraction job that need to be ran only one time the week-end. The 
process stopped when done
I am not allowed to use crontab to schedule this job.

I try on the wonder monitor without success so far. Is there a way to do that ?
To sum-up : scheduled on Saturday night without Auto recover

Thanks in advance
Pierre
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/amedeomantica%40me.com

This email sent to amedeomant...@me.com<mailto:amedeomant...@me.com>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/bock%40salient-doremus.de

This email sent to b...@salient-doremus.de<mailto:b...@salient-doremus.de>

Mit freundlichen Grüßen

René Bock

--
Telefon: +49 69 650096 18

salient GmbH, Lindleystraße 12, 60314 Frankfurt
Telefon Zentrale: 069 / 65 00 96 - 0  |  
www.salient-doremus.de<http://www.salient-doremus.de>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to