mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 14:02:53 +08:00
update PVE系统调整.md.
This commit is contained in:
+16
-1
@@ -185,4 +185,19 @@ watch cat /sys/devices/system/cpu/cpu[0-9]*/cpufreq/scaling_cur_freq
|
||||
|
||||
## 查看内部温度
|
||||
watch sensors
|
||||
```
|
||||
```
|
||||
|
||||
|
||||
## 4.PVE 定时重启配置
|
||||
|
||||
有时候我们需要让 PVE 服务器周期性的定时重启,则可使用以下命令:
|
||||
|
||||
```bash
|
||||
## 编辑系统 crontab
|
||||
crontab -l
|
||||
|
||||
## 选择 nano 编辑器,粘贴以下内容
|
||||
0 5 1,16 * * /usr/sbin/reboot
|
||||
```
|
||||
|
||||
这表示每月1、16号的5点0分执行系统重启命令。
|
||||
Reference in New Issue
Block a user