Merge branch 'develop' of github.com:Frappet/bma-ehr-organization into develop

This commit is contained in:
Kittapath 2024-02-08 10:33:09 +07:00
commit 61d7d73662

View file

@ -31,7 +31,7 @@ async function main() {
const APP_HOST = process.env.APP_HOST || "0.0.0.0";
const APP_PORT = +(process.env.APP_PORT || 3000);
const cronTime = "0 0 * * * *"; // ตั้งเวลาทุกวันเวลา 00:00:00
const cronTime = "0 8 * * * *"; // ตั้งเวลาทุกวันเวลา 08:00:00
cron.schedule(cronTime, async () => {
try {
const orgController = new OrganizationController();