@tachybase/module-cron 1.5.1 → 1.6.1
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.
|
|
3
|
-
"@tego/server": "1.
|
|
2
|
+
"@tachybase/client": "1.6.1",
|
|
3
|
+
"@tego/server": "1.6.0-alpha.9",
|
|
4
4
|
"react": "18.3.1",
|
|
5
5
|
"antd": "5.22.5",
|
|
6
6
|
"dayjs": "1.11.13",
|
|
7
|
-
"@tachybase/schema": "1.
|
|
8
|
-
"@tachybase/module-workflow": "1.
|
|
7
|
+
"@tachybase/schema": "1.6.0-alpha.9",
|
|
8
|
+
"@tachybase/module-workflow": "1.6.1"
|
|
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":"2025-
|
|
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":"2025-12-05T07:17:18.837Z"}
|
|
@@ -240,7 +240,7 @@ let _StaticScheduleTrigger = class _StaticScheduleTrigger {
|
|
|
240
240
|
}
|
|
241
241
|
const eventKey = `${cronJob.id}@${time}`;
|
|
242
242
|
this.timers.delete(eventKey);
|
|
243
|
-
const pluginWorkflow = this.app.
|
|
243
|
+
const pluginWorkflow = this.app.pm.get(import_module_workflow.PluginWorkflow);
|
|
244
244
|
const workflow = await this.db.getRepository("workflows").findOne({
|
|
245
245
|
filter: { key: cronJob.workflowKey, enabled: true }
|
|
246
246
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/module-cron",
|
|
3
3
|
"displayName": "Cron job",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.6.1",
|
|
5
5
|
"description": "Schedule tasks to run at specific times, using a workflow approach",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"System management"
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
"main": "dist/server/index.js",
|
|
10
10
|
"dependencies": {},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@tachybase/schema": "1.
|
|
13
|
-
"@tachybase/test": "1.
|
|
14
|
-
"@tego/client": "1.
|
|
15
|
-
"@tego/server": "1.
|
|
12
|
+
"@tachybase/schema": "1.6.0-alpha.9",
|
|
13
|
+
"@tachybase/test": "1.6.0-alpha.9",
|
|
14
|
+
"@tego/client": "1.6.0-alpha.9",
|
|
15
|
+
"@tego/server": "1.6.0-alpha.9",
|
|
16
16
|
"antd": "5.22.5",
|
|
17
17
|
"cron-parser": "4.9.0",
|
|
18
18
|
"dayjs": "1.11.13",
|
|
19
19
|
"react-js-cron": "^3.2.0",
|
|
20
|
-
"@tachybase/client": "1.
|
|
21
|
-
"@tachybase/module-workflow": "1.
|
|
20
|
+
"@tachybase/client": "1.6.1",
|
|
21
|
+
"@tachybase/module-workflow": "1.6.1"
|
|
22
22
|
},
|
|
23
23
|
"description.zh-CN": "安排任务在特定时间运行,采用工作流的方式",
|
|
24
24
|
"displayName.zh-CN": "定时任务",
|