[feat/cron-test-support]optimize.

This commit is contained in:
guoyongchang
2025-12-19 14:03:31 +08:00
parent cd3f51e9e2
commit 26bfdd6892

View File

@@ -123,13 +123,9 @@ class AccountTestSchedulerService {
} }
// 配置变了,停止旧任务 // 配置变了,停止旧任务
existingTask.task.stop() existingTask.task.stop()
logger.info( logger.info(`🔄 Updating cron task for ${accountKey}: ${cronExpression}, model: ${model}`)
`🔄 Updating cron task for ${accountKey}: ${cronExpression}, model: ${model}`
)
} else { } else {
logger.info( logger.info(` Creating cron task for ${accountKey}: ${cronExpression}, model: ${model}`)
` Creating cron task for ${accountKey}: ${cronExpression}, model: ${model}`
)
} }
// 创建新的 cron 任务 // 创建新的 cron 任务