From af0fc78b9c88b80efd9e7c5f8cfae0e6b44e463f Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 6 Sep 2022 13:58:52 +0200 Subject: [PATCH] Added step for configuration complete and debugging --- readme.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/readme.md b/readme.md index 048a8e0..ec5eb64 100644 --- a/readme.md +++ b/readme.md @@ -15,3 +15,12 @@ Main folder: `school-portal-substitution-plan`\ Browser folder: `school-portal-substitution-plan\school-portal-substitution-plan-browser`\ Chat folder: `school-portal-substitution-plan\school-portal-substitution-plan-matrix-chat-bot` + +## Configuration completed - next step +At the end of the file main.py you have the possibility to adjust the time of the query +`schedule.every().day.at("05:00").do(run_threaded, start_bot)` + +It is important to make sure that the time given is the same as the server time. Due to the time zone, there can be a time difference here and then the query is carried out at the server time and not at the desired time that you yourself have. + +## Debugging +In the .env file you have the option to set browserDebug to true and thus visually see how the bot retrieves the data from the website. Of course, you can only see it visually if the set time has arrived. \ No newline at end of file