mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 14:02:53 +08:00
更新 PVE 制作虚拟机模板
This commit is contained in:
+3
-3
@@ -376,7 +376,7 @@ Unattended-Upgrade::Automatic-Reboot-Time "04:30";
|
||||
sudo systemctl edit apt-daily-upgrade.timer
|
||||
```
|
||||
|
||||
根据配置文件中的提示,在文件中间空白处填入一下配置项。
|
||||
根据配置文件中的提示,在中间空白处填入以下配置项。
|
||||
|
||||
```bash
|
||||
## 定时器配置项
|
||||
@@ -402,7 +402,7 @@ sudo systemctl status apt-daily-upgrade.timer
|
||||
|
||||
### 1.7.配置定时任务
|
||||
|
||||
本步骤为可选操作,主要设置定时重启系统。
|
||||
本步骤为可选操作,主要设置系统定时重启。
|
||||
|
||||
```bash
|
||||
## 查看系统定时任务
|
||||
@@ -411,7 +411,7 @@ sudo crontab -l
|
||||
## 编辑系统定时任务,编辑器选择 nano
|
||||
sudo crontab -e
|
||||
|
||||
## 定时重启系统
|
||||
## 在配置文件末尾增加以下配置项
|
||||
0 6 8,24 * * /usr/sbin/reboot
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user