Skip to content

Commit

Permalink
🚂v2p: tasksub.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Oreomeow committed Aug 29, 2021
1 parent fa24fd4 commit f04f4c1
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 75 deletions.
20 changes: 10 additions & 10 deletions Tasks/tasksub.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "elecV2P 定时任务订阅",
"desc": "elecV2P 定时任务测试订阅。该订阅仅可用于 elecV2P, 与其他软件并不兼容。相关说明参考: https://github.com/elecV2/elecV2P-dei/tree/master/docs/06-task.md",
"author": "elecV2",
"date": "2021-03-31 20:32:04",
"surl": "https://raw.githubusercontent.com/elecV2/elecV2P/master/efss/tasksub.json",
"desc": "elecV2P 定时任务测试订阅。相关说明参考: https://github.com/elecV2/elecV2P-dei/tree/master/docs/06-task.md",
"date": "2021-06-19 20:32:08",
"author": "https://t.me/elecV2",
"resource": "https://raw.githubusercontent.com/elecV2/elecV2P/master/efss/tasksub.json",
"list": [
{
"name": "清空日志",
"type": "cron",
"time": "30 18 23 * * *",
"time": "30 58 23 * * *",
"job": {
"type": "runjs",
"target": "https://raw.githubusercontent.com/elecV2/elecV2P/master/script/JSFile/deletelog.js"
Expand All @@ -17,7 +17,7 @@
{
"name": "软更新升级",
"type": "cron",
"time": "30 58 23 * * *",
"time": "30 58 21 * * *",
"running": true,
"job": {
"type": "runjs",
Expand All @@ -35,13 +35,13 @@
}
},
{
"name": "任务只添加不开始",
"type": "cron",
"time": "10 0 * * *",
"name": "重启 elecV2P",
"type": "schedule",
"time": "0",
"running": false,
"job": {
"type": "exec",
"target": "python3 -V"
"target": "pm2 restart elecV2P"
}
},
{
Expand Down
130 changes: 65 additions & 65 deletions Tasks/tasksubCN.json
Original file line number Diff line number Diff line change
@@ -1,67 +1,67 @@
{
"name":"国内elecV2P 定时任务订阅",
"desc":"国内elecV2P 定时任务测试订阅。该订阅仅可用于 elecV2P, 与其他软件并不兼容。相关说明参考: https://github.com/elecV2/elecV2P-dei/tree/master/docs/06-task.md",
"author":"elecV2",
"date":"2021-05-22 20:30:00",
"surl":"https://ghproxy.com/https://raw.githubusercontent.com/elecV2/elecV2P/master/efss/tasksub.json",
"list":[
{
"name":"清空日志",
"type":"cron",
"time":"30 18 23 * * *",
"job":{
"type":"runjs",
"target":"https://ghproxy.com/https://raw.githubusercontent.com/elecV2/elecV2P/master/script/JSFile/deletelog.js"
}
},
{
"name":"软更新升级",
"type":"cron",
"time":"30 58 23 * * *",
"running":true,
"job":{
"type":"runjs",
"target":"https://ghproxy.com/https://raw.githubusercontent.com/elecV2/elecV2P/master/script/JSFile/softupdate.js"
}
},
{
"name":"Python安装(Docker下)",
"type":"schedule",
"time":"0",
"running":false,
"job":{
"type":"runjs",
"target":"https://ghproxy.com/https://raw.githubusercontent.com/elecV2/elecV2P/master/script/JSFile/python-install.js"
}
},
{
"name":"任务只添加不开始",
"type":"cron",
"time":"10 0 * * *",
"running":false,
"job":{
"type":"exec",
"target":"python3 -V"
}
},
{
"name":"任务添加并执行",
"type":"schedule",
"time":"10",
"job":{
"type":"exec",
"target":"node -v"
}
},
{
"name":"Shell 指令远程任务",
"type":"schedule",
"time":"0",
"running":false,
"job":{
"type":"exec",
"target":"python3 https://ghproxy.com/https://raw.githubusercontent.com/elecV2/elecV2P/master/script/Shell/elecV2P-exam.py"
}
}
]
"name": "elecV2P 定时任务订阅",
"desc": "elecV2P 定时任务测试订阅。相关说明参考: https://ghproxy.com/https://github.com/elecV2/elecV2P-dei/tree/master/docs/06-task.md",
"date": "2021-06-19 20:32:08",
"author": "https://t.me/elecV2",
"resource": "https://ghproxy.com/https://raw.githubusercontent.com/elecV2/elecV2P/master/efss/tasksub.json",
"list": [
{
"name": "清空日志",
"type": "cron",
"time": "30 58 23 * * *",
"job": {
"type": "runjs",
"target": "https://ghproxy.com/https://raw.githubusercontent.com/elecV2/elecV2P/master/script/JSFile/deletelog.js"
}
},
{
"name": "软更新升级",
"type": "cron",
"time": "30 58 21 * * *",
"running": true,
"job": {
"type": "runjs",
"target": "https://ghproxy.com/https://raw.githubusercontent.com/elecV2/elecV2P/master/script/JSFile/softupdate.js"
}
},
{
"name": "Python安装(Docker下)",
"type": "schedule",
"time": "0",
"running": false,
"job": {
"type": "runjs",
"target": "https://ghproxy.com/https://raw.githubusercontent.com/elecV2/elecV2P/master/script/JSFile/python-install.js"
}
},
{
"name": "重启 elecV2P",
"type": "schedule",
"time": "0",
"running": false,
"job": {
"type": "exec",
"target": "pm2 restart elecV2P"
}
},
{
"name": "任务添加并执行",
"type": "schedule",
"time": "10",
"job": {
"type": "exec",
"target": "node -v"
}
},
{
"name": "Shell 指令远程任务",
"type": "schedule",
"time": "0",
"running": false,
"job": {
"type": "exec",
"target": "python3 https://ghproxy.com/https://raw.githubusercontent.com/elecV2/elecV2P/master/script/Shell/elecV2P-exam.py"
}
}
]
}

0 comments on commit f04f4c1

Please sign in to comment.