1.atd和crond两个任务管理程序的区别
atd:单一执行的例行性工作,仅执行一次就结束了。
crond:循环执行的例行性工作,每隔一定的周期就需要执行一次。
2.指定在2023/03/29 19:00将时间写入testmail.txt文件中
[root@bogon ~]# systemctl start atd.service
[root@bogon ~]# systemctl enable atd.service
[root@bogon ~]# at -t 202304021900 >testmail.txt
warning: commands will be executed using /bin/sh
at> /testmail.txt
3.指定在每天凌晨4:00将该时间点之前的系统日志信息备份到个目录下(/var/log/messages )