示例#1
0
def main():
    print(Utils.print_title("package.json"))
    cent = Centinela(dbuser=pguser, dbpass=pgpass, dbhost=pghost)
    while True:
        check_incomplete()
        reportes = cent.get_open_reports()
        for reporte in reportes:
            thread = Thread(target=start, args=(reporte, ))
            thread.start()
        sleep(60)
示例#2
0
def main():
    print(Utils.print_title("package.json"))
    start()
示例#3
0
def main():
    print(Utils.print_title("package.json"))
    start(Utils.read_config("package.json"))