title: Cronjob with JavaServlets on TomCat Server
body: <p>I have a webpage written with jsp and Java Servlets on a TomCat-Server.</p>
  
  <p>I am very new to the whole JavaServlet thing. In the past I developed often in php. There it is very simple to create a Cronjob. </p>
  
  <p>I just used CRONTAB and called a .php-file which did the job for me.</p>
  
  <p>But how do I do this with JavaServlets? I read that some say the quartz-library would be good. But I didn't really get how to use this. I don't know where to start.</p>
  
  <p>I know that this question isn't very detailed and I can't provide any code, because there is no. I just wonder if there is any possibility to just <strong>call</strong> a JavaServlet like I can in <strong>php</strong> with <strong>crontab</strong>.</p>
  
  <p>My goal is to call a method every five minutes on my server. Most times this method will finish very quickly, but sometimes it will execute another .jar and last many minutes.</p>
  
  <p>Any advice would be very helpful for me. Thanks!</p>