How to schedule Tomcat restart

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rsrinivasan
    New Member
    • Mar 2007
    • 221

    How to schedule Tomcat restart

    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,
  • mac11
    Contributor
    • Apr 2007
    • 256

    #2
    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.

    Comment

    Working...