fix calculate
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m22s

This commit is contained in:
Warunee Tamkoo 2026-04-24 12:19:17 +07:00
parent c348a10207
commit ec6b4a7ac8
2 changed files with 27 additions and 16 deletions

View file

@ -98,7 +98,8 @@ async function main() {
});
// Cron job for updating tenure - every day at 04:00:00
const cronTime_Tenure = "0 0 4 * * *";
// const cronTime_Tenure = "0 0 4 * * *";
const cronTime_Tenure = "0 30 12 * * *"; // test 12:30
cron.schedule(cronTime_Tenure, async () => {
try {
const profileSalaryController = new ProfileSalaryController();