generated from template/slidev-template
update
This commit is contained in:
@@ -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()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user