当前位置: 首页 > news >正文

网站脑图用什么做网站被入侵后需做的检测 1

网站脑图用什么做,网站被入侵后需做的检测 1,网站的标签,江西省楚天建设集团有限公司网站Linux crontab练习之在系统中设定定时任务并优化定时任务_2 要求 每天凌晨4点系统的设备使用信息并以邮件的方式放送到root邮箱中确保此任务为系统定时任务 脚本实现 #!/bin/bashdnf install postfix s-nail-14.9.22-6.el9.x86_64 -y &> /dev/nullsystemctl enable …

Linux crontab练习之在系统中设定定时任务并优化定时任务_2

要求

  • 每天凌晨4点系统的设备使用信息并以邮件的方式放送到root邮箱中
  • 确保此任务为系统定时任务

脚本实现

#!/bin/bashdnf install postfix s-nail-14.9.22-6.el9.x86_64 -y &> /dev/nullsystemctl enable --now postfixecho "* 4 * * *  root df -h | mail -s test root"  >> /etc/cron.d/testfilechmod +x test2.sh
http://www.sadfv.cn/news/673/

相关文章: