Re: Monitor scheduling
Re: Monitor scheduling
- Subject: Re: Monitor scheduling
- From: René Bock via Webobjects-dev <email@hidden>
- Date: Mon, 13 Jul 2020 09:39:06 +0000
- Thread-topic: Monitor scheduling
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
<email@hidden<mailto:email@hidden>>:
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:email@hidden]
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
<email@hidden<mailto:email@hidden>> 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
(email@hidden<mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden<mailto:email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list
(email@hidden<mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden<mailto:email@hidden>
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden