每6小时更新节目单

This commit is contained in:
develop202
2026-01-16 13:06:55 +08:00
parent 80bdf574a3
commit b1928a7dbf

View File

@@ -23,6 +23,11 @@ switch (updateResult) {
}
printGreen("接口文件更新完成!")
// 6小时更新节目单
if (start.getHours() % 6) {
process.exit(0)
}
// 获取数据
const datas = await dataList()
printGreen("数据获取成功!")