@aomex/cron 3.28.2 → 3.29.0
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/CHANGELOG.md +16 -0
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.29.0](https://github.com/aomex/aomex/compare/v3.28.3...v3.29.0) (2025-07-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aomex/cron
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.28.3](https://github.com/aomex/aomex/compare/v3.28.2...v3.28.3) (2025-07-10)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aomex/cron
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [3.28.2](https://github.com/aomex/aomex/compare/v3.28.1...v3.28.2) (2025-07-09)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @aomex/cron
|
package/dist/index.js
CHANGED
|
@@ -87,7 +87,7 @@ import * as cronParser from "cron-parser";
|
|
|
87
87
|
|
|
88
88
|
// src/lib/task.ts
|
|
89
89
|
import { sleep } from "@aomex/internal-tools";
|
|
90
|
-
import { spawn } from "
|
|
90
|
+
import { spawn } from "child_process";
|
|
91
91
|
var Task = class {
|
|
92
92
|
constructor(cron2, currentTimestamp, nextTimestamp) {
|
|
93
93
|
this.cron = cron2;
|
|
@@ -374,7 +374,7 @@ var collectCrontab = async (opts) => {
|
|
|
374
374
|
};
|
|
375
375
|
|
|
376
376
|
// src/middleware/start.middleware.ts
|
|
377
|
-
import net from "
|
|
377
|
+
import net from "net";
|
|
378
378
|
var commandName = "cron:start";
|
|
379
379
|
var start = (opts) => {
|
|
380
380
|
return middleware.console({
|
|
@@ -484,7 +484,7 @@ var eject = (opts) => {
|
|
|
484
484
|
// src/middleware/stop.middleware.ts
|
|
485
485
|
import { terminal } from "@aomex/console";
|
|
486
486
|
import { middleware as middleware3 } from "@aomex/common";
|
|
487
|
-
import net2 from "
|
|
487
|
+
import net2 from "net";
|
|
488
488
|
import { bytes, sleep as sleep2 } from "@aomex/internal-tools";
|
|
489
489
|
import formatDuration from "format-duration";
|
|
490
490
|
import pidusage from "pidusage";
|
|
@@ -610,7 +610,7 @@ var stop = (opts) => {
|
|
|
610
610
|
// src/middleware/stats.middleware.ts
|
|
611
611
|
import { terminal as terminal2 } from "@aomex/console";
|
|
612
612
|
import { middleware as middleware4 } from "@aomex/common";
|
|
613
|
-
import net3 from "
|
|
613
|
+
import net3 from "net";
|
|
614
614
|
import pidusage2 from "pidusage";
|
|
615
615
|
import { bytes as bytes2 } from "@aomex/internal-tools";
|
|
616
616
|
import formatDuration2 from "format-duration";
|