From 70e5336fc189a78b4527aa57c3715bfcf42cd8bd Mon Sep 17 00:00:00 2001 From: naiba Date: Fri, 29 Jan 2021 08:53:55 +0800 Subject: [PATCH] =?UTF-8?q?[dashboard=20v0.4.0]=20=F0=9F=92=84=20dayNight?= =?UTF-8?q?=20=E4=B8=BB=E9=A2=98=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: JackieSung4ev <24974735+JackieSung4ev@users.noreply.github.com> --- README.md | 2 +- resource/template/component/cron.html | 4 ++-- service/dao/dao.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d4553ef..5f0174f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 哪吒面板 -![dashboard](https://img.shields.io/badge/管理面板-v0.3.12-brightgreen?style=for-the-badge&logo=github) ![Agent release](https://img.shields.io/github/v/release/naiba/nezha?color=brightgreen&label=Agent&style=for-the-badge&logo=github) +![dashboard](https://img.shields.io/badge/管理面板-v0.4.0-brightgreen?style=for-the-badge&logo=github) ![Agent release](https://img.shields.io/github/v/release/naiba/nezha?color=brightgreen&label=Agent&style=for-the-badge&logo=github) 系统状态监控报警、API(SSL证书变更、即将到期、到期)/TCP端口存活/PING 监控、计划任务(可以定时在Agent上执行命令,备份、重启、What ever you want)、极省资源,64M 服务器也能装 agent。 diff --git a/resource/template/component/cron.html b/resource/template/component/cron.html index efbcc7f..2c235ae 100644 --- a/resource/template/component/cron.html +++ b/resource/template/component/cron.html @@ -37,8 +37,8 @@ 计划的格式为:* * * * * 分 时 天 月 星期,详情见 计划表达式格式
- 命令:Shell 命令,就像写脚本一样就可以,如果遇到 xxx 命令找不到,可能是 PATH 环境变量的问题,在脚本顶部加一个 source ~/.bashrc - 或者使用绝对路径执行,示例 备份脚本。 + 命令:就像写 shell/bat 脚本一样,但是不推荐换行,多个命令使用 `&&`/`&` 连接,如果遇到 xxx 命令找不到,可能是 PATH 环境变量的问题,`Linux` 主机在命令开头加入 + source ~/.bashrc或者使用绝对路径执行。

diff --git a/service/dao/dao.go b/service/dao/dao.go index 4b24ca2..8cd0cdd 100644 --- a/service/dao/dao.go +++ b/service/dao/dao.go @@ -13,7 +13,7 @@ import ( pb "github.com/naiba/nezha/proto" ) -var Version = "v0.3.12" // !!记得修改 README 重的 badge 版本!! +var Version = "v0.4.0" // !!记得修改 README 重的 badge 版本!! const ( SnapshotDelay = 3