We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af3a1f7 commit a94f012Copy full SHA for a94f012
lib/Common.js
@@ -335,11 +335,11 @@ Common.sink.determineCron = function(app) {
335
}
336
337
if (app.cron_restart) {
338
- const cronParser = require('cron-parser')
+ const Croner = require('croner');
339
340
try {
341
Common.printOut(cst.PREFIX_MSG + 'cron restart at ' + app.cron_restart);
342
- cronParser.parseExpression(app.cron_restart);
+ Croner(app.cron_restart);
343
} catch(ex) {
344
return new Error(`Cron pattern error: ${ex.message}`);
345
package.json
@@ -177,7 +177,6 @@
177
"cli-tableau": "^2.0.0",
178
"commander": "2.15.1",
179
"croner": "~4.1.92",
180
- "cron-parser": "~3.5.0",
181
"dayjs": "~1.8.25",
182
"debug": "^4.3.1",
183
"enquirer": "2.3.6",
0 commit comments