crontab -e ## -e edit 增加,减少,修改。 需要systemctl restart crond服务后生效
crontab -l ## 查看crontab任务
crontab -r ## -r 删除所有crontab任务。需要systemctl restart crond服务后生效
username可以省略掉,可以执行命令 也可以执行bash shell script 脚本

man 5 crontab

man 5 crontab

at now + 5 minutes 回车, 输入相应命令后,按ctrl +d 保存退出。systemctl restart atd
atq = at -l ##查看一次性任务
atrm ##删除一次性任务,任务