title: Running a python function after a certain time passes. Using Threading Timer, however it only runs once and then stops
body: <p>I am trying to run a specific function in my python file. However, when I run the method with the timer that calls said function, it executes everything that it's supposed to, but then exits the job after the first time. I need it to continue to run the function after the specified time. </p>
  
  <p>This is the function that contains the timer:</p>
  
  <pre>
      def executor(file):
          x = datetime.today()
          y = x.replace(day=x.day, hour=x.hour, minute=x.minute, second=x.second+10, microsecond=0)
          delta_t = y-x
          secs = delta_t.seconds+1
          t = Timer(secs, parse_file, [file])
          t.start()
  </pre>
  
  <p>The function that I am trying to call, is <code>parse_file(file_name)</code>.
  I am passing in the <code>file_name</code> when calling the <code>executor</code> function.</p>