This commit is contained in:
2025-11-17 19:41:40 +08:00
parent 279f948314
commit e81a475bba
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ import './index.ts'
import { main } from './task.ts';
// 每2个小时执行一次更新任务
cron.schedule('0 */2 * * *', async () => {
cron.schedule('0 */2 * * *', () => {
main()
});

View File

@@ -1,6 +1,6 @@
{
"name": "@kevisual/ddns-agent",
"version": "1.0.0",
"version": "1.0.1",
"description": "",
"main": "index.js",
"type": "module",
@@ -13,7 +13,7 @@
]
},
"scripts": {
"pub": "ev deploy . -k ddns-agent -v 1.0.0 -u",
"pub": "ev deploy . -k ddns-agent -v 1.0.1 -u",
"packup": "ev pack -p",
"pm2": "pm2 start agent/corn.ts --interpreter bun --name ddns-agent"
},