@tachybase/module-cron 1.6.13 → 1.6.15
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.
package/dist/externalVersion.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
"@tachybase/client": "1.6.
|
|
2
|
+
"@tachybase/client": "1.6.15",
|
|
3
3
|
"@tego/server": "1.6.10",
|
|
4
4
|
"react": "18.3.1",
|
|
5
5
|
"antd": "5.22.5",
|
|
6
6
|
"dayjs": "1.11.13",
|
|
7
7
|
"@tachybase/schema": "1.6.10",
|
|
8
|
-
"@tachybase/module-workflow": "1.6.
|
|
8
|
+
"@tachybase/module-workflow": "1.6.15"
|
|
9
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"cron-parser","version":"4.9.0","description":"Node.js library for parsing crontab instructions","main":"lib/parser.js","types":"types/index.d.ts","typesVersions":{"<4.1":{"*":["types/ts3/*"]}},"directories":{"test":"test"},"scripts":{"test:tsd":"tsd","test:unit":"TZ=UTC tap ./test/*.js","test:cover":"TZ=UTC tap --coverage-report=html ./test/*.js","lint":"eslint .","lint:fix":"eslint --fix .","test":"npm run lint && npm run test:unit && npm run test:tsd"},"repository":{"type":"git","url":"https://github.com/harrisiirak/cron-parser.git"},"keywords":["cron","crontab","parser"],"author":"Harri Siirak","contributors":["Nicholas Clawson","Daniel Prentis <daniel@salsitasoft.com>","Renault John Lecoultre","Richard Astbury <richard.astbury@gmail.com>","Meaglin Wasabi <Meaglin.wasabi@gmail.com>","Mike Kusold <hello@mikekusold.com>","Alex Kit <alex.kit@atmajs.com>","Santiago Gimeno <santiago.gimeno@gmail.com>","Daniel <darc.tec@gmail.com>","Christian Steininger <christian.steininger.cs@gmail.com>","Mykola Piskovyi <m.piskovyi@gmail.com>","Brian Vaughn <brian.david.vaughn@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Yasuhiroki <yasuhiroki.duck@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Brendan Warkentin <faazshift@gmail.com>","Charlie Fish <fishcharlie.code@gmail.com>","Ian Graves <ian+diskimage@iangrav.es>","Andy Thompson <me@andytson.com>","Regev Brody <regevbr@gmail.com>"],"license":"MIT","dependencies":{"luxon":"^3.2.1"},"devDependencies":{"eslint":"^8.27.0","sinon":"^15.0.1","tap":"^16.3.3","tsd":"^0.26.0"},"engines":{"node":">=12.0.0"},"browser":{"fs":false},"tap":{"check-coverage":false},"tsd":{"directory":"test","compilerOptions":{"lib":["es2017","dom"]}},"files":["lib","types","LICENSE","README.md"],"_lastModified":"2026-
|
|
1
|
+
{"name":"cron-parser","version":"4.9.0","description":"Node.js library for parsing crontab instructions","main":"lib/parser.js","types":"types/index.d.ts","typesVersions":{"<4.1":{"*":["types/ts3/*"]}},"directories":{"test":"test"},"scripts":{"test:tsd":"tsd","test:unit":"TZ=UTC tap ./test/*.js","test:cover":"TZ=UTC tap --coverage-report=html ./test/*.js","lint":"eslint .","lint:fix":"eslint --fix .","test":"npm run lint && npm run test:unit && npm run test:tsd"},"repository":{"type":"git","url":"https://github.com/harrisiirak/cron-parser.git"},"keywords":["cron","crontab","parser"],"author":"Harri Siirak","contributors":["Nicholas Clawson","Daniel Prentis <daniel@salsitasoft.com>","Renault John Lecoultre","Richard Astbury <richard.astbury@gmail.com>","Meaglin Wasabi <Meaglin.wasabi@gmail.com>","Mike Kusold <hello@mikekusold.com>","Alex Kit <alex.kit@atmajs.com>","Santiago Gimeno <santiago.gimeno@gmail.com>","Daniel <darc.tec@gmail.com>","Christian Steininger <christian.steininger.cs@gmail.com>","Mykola Piskovyi <m.piskovyi@gmail.com>","Brian Vaughn <brian.david.vaughn@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Yasuhiroki <yasuhiroki.duck@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Brendan Warkentin <faazshift@gmail.com>","Charlie Fish <fishcharlie.code@gmail.com>","Ian Graves <ian+diskimage@iangrav.es>","Andy Thompson <me@andytson.com>","Regev Brody <regevbr@gmail.com>"],"license":"MIT","dependencies":{"luxon":"^3.2.1"},"devDependencies":{"eslint":"^8.27.0","sinon":"^15.0.1","tap":"^16.3.3","tsd":"^0.26.0"},"engines":{"node":">=12.0.0"},"browser":{"fs":false},"tap":{"check-coverage":false},"tsd":{"directory":"test","compilerOptions":{"lib":["es2017","dom"]}},"files":["lib","types","LICENSE","README.md"],"_lastModified":"2026-04-09T08:08:48.513Z"}
|
|
@@ -271,13 +271,13 @@ let _StaticScheduleTrigger = class _StaticScheduleTrigger {
|
|
|
271
271
|
await cronJob.update({
|
|
272
272
|
lastTime: new Date(time)
|
|
273
273
|
});
|
|
274
|
-
this.scheduleNextIfNeeded(cronJob);
|
|
275
274
|
} else {
|
|
276
275
|
await cronJob.increment(["limitExecuted", "allExecuted"]);
|
|
277
276
|
await cronJob.update({
|
|
278
277
|
lastTime: new Date(time)
|
|
279
278
|
});
|
|
280
279
|
}
|
|
280
|
+
this.scheduleNextIfNeeded(cronJob);
|
|
281
281
|
await this.cronJobLock.release(cronJobId, time);
|
|
282
282
|
}
|
|
283
283
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/module-cron",
|
|
3
3
|
"displayName": "Cron job",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.15",
|
|
5
5
|
"description": "Schedule tasks to run at specific times, using a workflow approach",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"System management"
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"cron-parser": "4.9.0",
|
|
27
27
|
"dayjs": "1.11.13",
|
|
28
28
|
"react-js-cron": "^3.2.0",
|
|
29
|
-
"@tachybase/
|
|
30
|
-
"@tachybase/
|
|
29
|
+
"@tachybase/module-workflow": "1.6.15",
|
|
30
|
+
"@tachybase/client": "1.6.15"
|
|
31
31
|
},
|
|
32
32
|
"description.zh-CN": "安排任务在特定时间运行,采用工作流的方式",
|
|
33
33
|
"displayName.zh-CN": "定时任务",
|