修复 cron-parser import,websocket basepath

This commit is contained in:
whyour
2025-12-23 00:28:16 +08:00
parent dc0b3f2eb2
commit 5f0dafa010
9 changed files with 15 additions and 14 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import config from '../config';
import { Crontab, CrontabModel, CrontabStatus } from '../data/cron';
import { exec, execSync } from 'child_process';
import fs from 'fs/promises';
import { CronExpressionParser } from 'cron-parser';
import CronExpressionParser from 'cron-parser';
import {
getFileContentByName,
fileExist,