title: Run multiple Timer tasks with different intervals in Java
body: <p>Say I have the following code</p>
  
  <pre><code> Timer t1 = new Timer();
   t1.scheduleAtFixedRate(new TimerTask() {
          @Override
           public void run(){
               //TASK 1
           }
   },0,2000);
  
   Timer t2 = new Timer();
   t2.scheduleAtFixedRate(new TimerTask() {
          @Override
           public void run(){
               //TASK 2
           }
   },0,180000);
  </code></pre>
  
  <p>Would Task1 and Task2 run independent of each other or would Task2 hold up the process for 30 minutes?</p>
  
  <p>If the latter happens, would splitting this into two Threads be the only option?</p>