title: Scheduler - self.job_func = functools.partial(job_func, *args, **kwargs)
body: <p>I am using library scheduler for cron jobs in python. I want to send multiple arguments to the job to be scheduled. But I am getting follwing error:</p>
  
  <pre><code>File "/Library/Python/2.7/site-packages/schedule/__init__.py", line 352, in do
  self.job_func = functools.partial(job_func, *args, **kwargs)
  TypeError: the first argument must be callable
  </code></pre>
  
  <p>Below is my code. I am using multithreading and want to schedule my thread tasks: </p>
  
  <pre><code>class myThread (threading.Thread):
      def __init__(self, threadID, name, counter):
      threading.Thread.__init__(self)
      self.threadID = threadID
      self.name = name
      self.counter = counter
  
  def run(self):
      print "Starting " + self.name
      SomeClassInstance = SomeClass() 
  </code></pre>
  
  <p>This didn't work:</p>
  
  <pre><code>schedule.every(10).minutes.do(phoneidLogger.getSplunkLogs(arg1,arg2,arg3,arg4))
  </code></pre>
  
  <p>Below also didn't help:</p>
  
  <pre><code>schedule.every(10).minutes.do(phoneidLogger.getSplunkLogs,arg1,arg2,arg3,arg4)
  </code></pre>