def run_sched(self):
"""Loop through the schedule to check if new task"""
cg.send('> Started Thread w/ self._c = {}'.format(self._checkSchedule))
while self._checkSchedule:
schedule.run_pending()
sleep(1)
cg.send('> Ended thread w/ self._c = {}'.format(self._checkSchedule))
评论列表
文章目录