This commit is contained in:
张成
2025-11-24 13:42:17 +08:00
parent d90d991710
commit 2617fa2e5e

View File

@@ -48,6 +48,10 @@ class ScheduledJobs {
const autoDeliverJob = node_schedule.scheduleJob(config.schedules.autoDeliver, () => {
this.autoDeliverTask();
});
// 立即执行一次自动投递任务
this.autoDeliverTask();
this.jobs.push(autoDeliverJob);
console.log('[定时任务] 已启动自动投递任务');