|
From: Leif M. <le...@ta...> - 2004-08-16 14:36:00
|
Omar,
Currently there is no way to schedule a restart at a specific time
from within the Wrapper.
There are a couple ways to implement this yourself however.
1) If you are using a UNIX platform, you can simply create a cron job
which will execute
the shell script with the "restart" command.
2) On any platform, you could create a timer thread in your Java
application and then simply
call WrapperManager.restart() at the appropriate time.
Cheers,
Leif
Omar Al-Kalaldeh wrote:
>Hi,
>
>I wonder are there any way to restart the Wrapper service at specified time in the
>day, or after a period of running time.
>
>Best regards.
>
>
|