Merge branch 'adiDev' into develop

This commit is contained in:
AdisakKanthawilang 2024-02-08 09:50:19 +07:00
commit 3986609506

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();