From 74ce084dba3d8da9cd1c2d8254bca420ea17d8b3 Mon Sep 17 00:00:00 2001 From: jerick Date: Sun, 3 Sep 2023 02:07:48 -0400 Subject: [PATCH 1/2] added cd to project directory --- start.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/start.sh b/start.sh index 8ef31db..32aeb80 100644 --- a/start.sh +++ b/start.sh @@ -1,2 +1,3 @@ #!/bin/bash +cd /home/jerick/cron_monitor/ waitress-serve --host 0.0.0.0 main:app \ No newline at end of file From a21c4bf53294a9d71093572e3e30f1010607e015 Mon Sep 17 00:00:00 2001 From: jerick Date: Sun, 3 Sep 2023 23:37:26 -0400 Subject: [PATCH 2/2] Turned off debug for SQL error --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 4f571fd..667a67a 100644 --- a/main.py +++ b/main.py @@ -129,4 +129,4 @@ api.add_resource(jobManager, '/api/jobs') #Runs the Flask app if __name__ == '__main__': - app.run(debug=True) \ No newline at end of file + app.run(debug=False) \ No newline at end of file