'put task to task queue'

def put_task(self, task):

    _schedule = task.get('schedule', self.default_schedule)
    self.projects[task['project']].task_queue.put(task['taskid'], priority=_schedule.get('priority', self.default_schedule['priority']), exetime=_schedule.get('exetime', self.default_schedule['exetime']))
