目录
1.单一执行的例行性工作at(at配置)
at 配置在5小时后,将 "This is a at task" 写入 root家目录中的at_test文件中
[root@server /]# at now + 5 hours
warning: commands will be executed using /bin/sh
at> echo 'This is a at task' > /root/at_test
at> <EOT>
job 3 at Sun Jul 24 01:16:00 2022
[root@server /]# at -l #列出目前系统上所有用户的at调度
3 Sun Jul 24 01:16:00 2022 a root
2.循环执行的例行性工作(crontab配置)
crontab时间过后不再执行
crontab配置,每周六,周日 9点半,14点 提醒我上RHCE课 写入root家目录中的cron_test文件中
[root@server /]# crontab -e #编辑crontab的工作内容
no crontab for