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

View File

@@ -1,6 +1,6 @@
{ {
"name": "@kevisual/ddns-agent", "name": "@kevisual/ddns-agent",
"version": "1.0.0", "version": "1.0.1",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"type": "module", "type": "module",
@@ -13,7 +13,7 @@
] ]
}, },
"scripts": { "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", "packup": "ev pack -p",
"pm2": "pm2 start agent/corn.ts --interpreter bun --name ddns-agent" "pm2": "pm2 start agent/corn.ts --interpreter bun --name ddns-agent"
}, },