def METHOD_NAME(): # pragma: no cover
    get_env('INFRABOX_DATABASE_HOST')
    get_env('INFRABOX_DATABASE_USER')
    get_env('INFRABOX_DATABASE_PASSWORD')
    get_env('INFRABOX_DATABASE_PORT')
    get_env('INFRABOX_DATABASE_DB')
    get_env('INFRABOX_CACHET_ENDPOINT')
    get_env('INFRABOX_CACHET_API_TOKEN')
    while True:
        c = Cachet()
        try:
            db = DB(connect_db())
            c.update(db)
        except Exception as e:
            logger.exception(e)
        finally:
            time.sleep(10)