mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 14:02:53 +08:00
更新文案描述
This commit is contained in:
@@ -230,8 +230,6 @@ $ watch -d sensors
|
|||||||
|
|
||||||
参数表示每月 `1` 、 `16` 号的 `02:30` 执行系统重启命令。
|
参数表示每月 `1` 、 `16` 号的 `02:30` 执行系统重启命令。
|
||||||
|
|
||||||
执行以下命令创建 Cronie 系统定时任务文件。
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
## 创建 PVE 定时重启任务
|
## 创建 PVE 定时重启任务
|
||||||
$ tee /etc/cron.d/pve-reboot >/dev/null <<'EOF'
|
$ tee /etc/cron.d/pve-reboot >/dev/null <<'EOF'
|
||||||
|
|||||||
+1
-3
@@ -384,10 +384,8 @@ $ sudo systemctl status apt-daily-upgrade.timer
|
|||||||
|
|
||||||
本步骤为可选操作,主要设置系统定时重启。
|
本步骤为可选操作,主要设置系统定时重启。
|
||||||
|
|
||||||
执行以下命令创建 Cronie 系统定时任务文件。
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
## 创建 Guest OS 定时重启任务
|
## 创建本机定时重启任务
|
||||||
$ sudo tee /etc/cron.d/guest-os-reboot >/dev/null <<'EOF'
|
$ sudo tee /etc/cron.d/guest-os-reboot >/dev/null <<'EOF'
|
||||||
30 4 8,24 * * root /usr/sbin/shutdown --reboot now
|
30 4 8,24 * * root /usr/sbin/shutdown --reboot now
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
@@ -158,8 +158,6 @@ $ sudo snap set system refresh.timer=mon,2:30,,fri,2:30
|
|||||||
|
|
||||||
本步骤为可选操作,主要用于设置 `Adguard Home` 定时重启。
|
本步骤为可选操作,主要用于设置 `Adguard Home` 定时重启。
|
||||||
|
|
||||||
执行以下命令创建 Cronie 系统定时任务文件。
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
## 创建 Adguard Home 定时重启任务
|
## 创建 Adguard Home 定时重启任务
|
||||||
$ sudo tee /etc/cron.d/adguard-home-restart >/dev/null <<'EOF'
|
$ sudo tee /etc/cron.d/adguard-home-restart >/dev/null <<'EOF'
|
||||||
|
|||||||
@@ -748,8 +748,6 @@ $ sudo tailscale set --auto-update=false
|
|||||||
|
|
||||||
本步骤为可选操作,主要用于设置 TS 定时重启。
|
本步骤为可选操作,主要用于设置 TS 定时重启。
|
||||||
|
|
||||||
执行以下命令创建 Cronie 系统定时任务文件。
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
## 创建 Tailscale 定时重启任务
|
## 创建 Tailscale 定时重启任务
|
||||||
$ sudo tee /etc/cron.d/tailscale-restart >/dev/null <<'EOF'
|
$ sudo tee /etc/cron.d/tailscale-restart >/dev/null <<'EOF'
|
||||||
|
|||||||
Reference in New Issue
Block a user