添加定时任务:crontab -e,在文件中写属于当前用户的定时任务,输入如下内容: 23 11 10 02 * /mnt/kettle/test.sh 其中 23为分钟,11为小时,10为日,02为月,*为星期几centos 7定时任务重启:/bin/systemctl restart crond.service