@nger/fk-upload 1.0.15 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -102,6 +102,7 @@ let TaskService = class TaskService {
|
|
102
102
|
if (reply) {
|
103
103
|
const setting = JSON.parse(reply);
|
104
104
|
if (task.name === setting.name) {
|
105
|
+
console.log(`shedule job regist ${task.name}`);
|
105
106
|
this.schedule.scheduleJob(task.name, task.rule, async (time) => {
|
106
107
|
const accounts = await this.db.manager.find(entities_1.FkLoginEntity, {});
|
107
108
|
const w7Usernames = accounts.map(account => account.w7Username);
|
@@ -122,6 +123,7 @@ let TaskService = class TaskService {
|
|
122
123
|
}
|
123
124
|
});
|
124
125
|
});
|
126
|
+
complete();
|
125
127
|
}
|
126
128
|
else {
|
127
129
|
complete();
|