Thanks that should work I will have to set the memory size with something like –Xms256m –Xmx9g so it doesnot take to much during the waiting time
Pierre De : René Bock [mailto:[email protected]] Envoyé : lundi 13 juillet 2020 11:39 À : GILQUIN Pierre; GILQUIN Pierre via Webobjects-dev Cc : Amedeo Mantica Objet : Re: 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 protected]<mailto:[email protected]>>: 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 protected]] 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 protected]<mailto:[email protected]>> 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 protected]<mailto:[email protected]>) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/amedeomantica%40me.com This email sent to [email protected]<mailto:[email protected]> _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]<mailto:[email protected]>) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/bock%40salient-doremus.de This email sent to [email protected]<mailto:[email protected]> 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 protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
