2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 09:13:49 +08:00

fix: lint

This commit is contained in:
2026-01-30 17:21:10 +08:00
parent 2e4a5d3b43
commit 624bac6ead

View File

@@ -46,7 +46,11 @@ const parseCron = (cron: string) => {
return
}
const [minute, hour, day, month, weekday] = parts
const minute = parts[0]!
const hour = parts[1]!
const day = parts[2]!
const month = parts[3]!
const weekday = parts[4]!
// 每 N 分钟:*/N * * * *
if (minute.startsWith('*/') && hour === '*' && day === '*' && month === '*' && weekday === '*') {