'Start task runner.'

def _start_task(self):

    self.ndb._task = ExtendedLoopingCall(self._step_task)
    if self.db._paused_time:
        callcount = (self.db._paused_callcount or 0)
        self.ndb._task.start(self.db_interval, now=False, start_delay=self.db._paused_time, count_start=callcount)
        del self.db._paused_time
        del self.db._paused_repeats
    else:
        self.ndb._task.start(self.db_interval, now=(not self.db_start_delay))
