feat: 更新CI报告发送时间为每周五早上10点
This commit is contained in:
parent
4c109a006f
commit
ba71a09887
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ci_monitor",
|
"name": "ci_monitor",
|
||||||
"image": "micr.cloud.mioffice.cn/zhaoyingbo/dev:bun",
|
"image": "git.yingbo.im:333/zhaoyingbo/dev:bun",
|
||||||
"remoteUser": "bun",
|
"remoteUser": "bun",
|
||||||
"containerUser": "bun",
|
"containerUser": "bun",
|
||||||
"customizations": {
|
"customizations": {
|
||||||
|
2
bunfig.toml
Normal file
2
bunfig.toml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[install]
|
||||||
|
registry = "https://registry.npmjs.org"
|
@ -3,8 +3,8 @@ import manageRobot from "../controllers/manageRobot";
|
|||||||
import syncPipLine from "./syncPipLine";
|
import syncPipLine from "./syncPipLine";
|
||||||
|
|
||||||
const initSchedule = async () => {
|
const initSchedule = async () => {
|
||||||
// 每天十点钟发送CI报告
|
// 每周五早上10点发送CI报告
|
||||||
scheduleJob("0 10 * * *", manageRobot.sendCIReportByCron);
|
scheduleJob("0 10 * * 5", manageRobot.sendCIReportByCron);
|
||||||
// 每15分钟同步一次CI数据
|
// 每15分钟同步一次CI数据
|
||||||
scheduleJob("*/15 * * * *", syncPipLine);
|
scheduleJob("*/15 * * * *", syncPipLine);
|
||||||
// 立即同步一次
|
// 立即同步一次
|
||||||
|
Loading…
x
Reference in New Issue
Block a user