1、首先创建一个需要定时执行的脚本(创建一个以时间命名的文件)
2、添加脚本的可执行属性,使用chmod +x test.sh
4、保存文件,重启定时任务服务:systemctl restart crond.service