diff options
author | Joel Kronqvist <work.joelkronqvist@gmail.com> | 2022-11-03 17:15:40 +0200 |
---|---|---|
committer | Joel Kronqvist <work.joelkronqvist@gmail.com> | 2022-11-03 17:15:40 +0200 |
commit | 5f74d40fa736745651514853afdca3ed44e5ae74 (patch) | |
tree | 84dba0e9a48ae71fb61fb8134d2b895cac8ed34a /update.js | |
parent | cf1dd1d7bd128bf770159032975bc014497507ca (diff) | |
download | LYLLRuoka-5f74d40fa736745651514853afdca3ed44e5ae74.tar.gz LYLLRuoka-5f74d40fa736745651514853afdca3ed44e5ae74.zip |
Made server update foods at monday morning instead of updating them just randomly once a week.
Diffstat (limited to 'update.js')
-rw-r--r-- | update.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -9,7 +9,9 @@ async function buildDB(dbconnection, shiftPath, ...classfiles) shiftCont = shiftCont.toString("utf-8").replaceAll("\r", ""); // \r because of the \r\n newline on windows which may create problems await parseClasses(dbconnection, ...classfiles), + console.log("Classes updated."); await parse.build(shiftCont, dbconnection) + console.log("Shifts updated."); return 0; } |