Connecting Tech Pros Worldwide Help | Site Map

How to schedule Tomcat restart

rsrinivasan's Avatar
Familiar Sight
 
Join Date: Mar 2007
Location: India
Posts: 221
#1: Jun 20 '08
Hi all,

I am using tomcat4.1.27 in production. I want to restart my tomcat server daily at 12PM. How can i do it?. Is tomcat has any build-in capability for this?

Any idea please...

Thanks,
Familiar Sight
 
Join Date: Apr 2007
Posts: 188
#2: Jun 20 '08

re: How to schedule Tomcat restart


I don't know if tomcat can do it himself, but I'm sure your OS can do that for you.

If you use Linux you write a small script that just makes tomcat reboot and you schedule it with cron.

If you use Windows you make a similar script and schedule it with whatever the windows scheduler is called.
Reply


Similar Apache Web Server bytes