title: Timer stops running after a while
body: <p>I have written a small programm which constantly opens a certain website with a timer</p>
  
  <pre><code>Timer timer = new Timer();          
  timer.scheduleAtFixedRate(new TimerTask() {
        @Override
            public void run() {
            myview.loadUrl(readFromFile());
        }
      }, 10000, 180000);
  </code></pre>
  
  <p>But the problem with this is that it stop running after a certain amount of time (like 1 or 2 weeks). I was thinking of some sort of cache overflow with too high numbers.
  Can i change this code, so that my timer runs consistant without stopping after some time?<br>
  I really appreciate your help.   </p>