diff --git a/schedule_13dg_indexing_functions.py b/schedule_13dg_indexing_functions.py index 0bbd284..1780413 100644 --- a/schedule_13dg_indexing_functions.py +++ b/schedule_13dg_indexing_functions.py @@ -9,6 +9,14 @@ import datetime as dt +dbname = os.getenv("PGDATABASE") + +host = os.getenv("PGHOST", "localhost") + +conn_string = "postgresql://" + host + "/" + dbname + + + def get_index_url(file_name):