MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / start

Method start

task.py:2276–2282  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2274 return False
2275
2276 def start(self):
2277 self.task_table_rep()
2278 while True:
2279 if os.path.exists(self.is_task):
2280 self.do_one()
2281 write_file(self.tip_file, str(int(time.time())))
2282 time.sleep(1)
2283
2284
2285_Proc = namedtuple(

Callers 10

proc_execute_taskMethod · 0.45
proc_run_tasks_listMethod · 0.45
process_net_totalMethod · 0.45
start_scripts_serviceFunction · 0.45
panel_daemon_startFunction · 0.45
sys_startFunction · 0.45
run_tasks_list_startFunction · 0.45
bt_task_startFunction · 0.45
mainFunction · 0.45

Calls 5

task_table_repMethod · 0.95
do_oneMethod · 0.95
timeMethod · 0.80
write_fileFunction · 0.70
existsMethod · 0.45

Tested by

no test coverage detected