ivanhao/pvetools

在使用优化后,每十分钟pve会触发一个报警

feixu0530 opened this issue · 0 comments

从计划任务内看
/10 * * * * root /usr/bin/truncLog
这条导致的删除log,而报警邮件内也是啊没有相应的文件导致的:
rm: cannot remove '/var/log/
.gz': No such file or directory
rm: cannot remove '/var/cache/apt/archives/.deb': No such file or directory
rm: cannot remove '/var/cache/apt/archives/partial/
.deb': No such file or directory
rm: cannot remove '/var/log/.1': No such file or directory
rm: cannot remove '/var/log/
.2': No such file or directory
rm: cannot remove '/var/log/.3': No such file or directory
rm: cannot remove '/var/log/
.4': No such file or directory
rm: cannot remove '/var/log/.5': No such file or directory
rm: cannot remove '/var/log/
.6': No such file or directory

不确定是哪个优化产生了这个计划任务,并且删除这个计划任务是否会有什么不好的影响?