title: How to pass argument while calling a function using schedule library?
body: <p>I am wondering if someone can help me in how to pass the argument while calling the job function using the <a href="https://schedule.readthedocs.io" rel="nofollow noreferrer">schedule</a> library. I see there are couple of example on the same but nothing when you are using the threading and run_threaded function.</p>
  
  <p>In the below code snippet i am trying to pass the 'sample_input' as an argument and confused how to define this parameter.</p>
  
  <pre><code>def run_threaded(job_func):
  job_thread = threading.Thread(target=job_func)
  job_thread.start()
  
  @with_logging
  def job(input_name):
      print("I'm running on thread %s" % threading.current_thread())
      main(input_name)
  
  schedule.every(10).seconds.do(run_threaded, job(‘sample_input’))
  </code></pre>