rollback code cronjob time
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m27s

This commit is contained in:
Warunee Tamkoo 2026-04-24 13:07:26 +07:00
parent ec6b4a7ac8
commit b9b73ca994

View file

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