title: Using python pyscheduler to run dependent tasks
body: <p>I am trying to build a utility which could run some processes but before spawning a process, read its dependency from a config. I am trying to use pyscheduler which actually describes what I need <a href="https://pypi.python.org/pypi/pyScheduler/0.1.0" rel="nofollow noreferrer">pyScheduler</a>. </p>
  
  <pre><code>from pyscheduler.serialScheduler import SerialScheduler
  &gt;&gt;&gt; def test_function():
  ...     print "Called test_function"
  ... 
  &gt;&gt;&gt; scheduler.add_task(task_name = "1", dependencies = ["2","3"], description ="",target_function = test_function ,function_kwargs={"this":1})
  &gt;&gt;&gt; scheduler.add_task(task_name = "2", dependencies = ["4"], description ="",target_function = test_function ,function_kwargs={"this":2})
  &gt;&gt;&gt; scheduler.add_task(task_name = "3", dependencies = ["5","6"], description ="",target_function = test_function ,function_kwargs={"this":3})
  &gt;&gt;&gt; scheduler.add_task(task_name = "4", dependencies = [], description ="",target_function = test_function ,function_kwargs={"this":4})
  &gt;&gt;&gt; scheduler.add_task(task_name = "5", dependencies = [], description ="",target_function = test_function ,function_kwargs={"this":5})
  &gt;&gt;&gt; scheduler.add_task(task_name = "6", dependencies = [], description ="",target_function = test_function ,function_kwargs={"this":6})
  &gt;&gt;&gt; scheduler.run()
  []
  </code></pre>
  
  <p>Why am I getting an empty list? 
  What could be a probable approach to give dependency in an external config file and not inside my python script.</p>