Exemple #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)
Exemple #2
0
def main():
    print(Utils.print_title("package.json"))
    start()
Exemple #3
0
def main():
    print(Utils.print_title("package.json"))
    start(Utils.read_config("package.json"))