Linux CronTab

it2024-07-01  42

[root@localhost ~]# crontab [选项] 选项: -e: 编辑crontab定时任务 -l: 查询crontab任务 -r: 删除当前用户所有的crontab任务 ① 输入 crontab e ② 在crontab文件里输入i ③ 按 esc-> 输入 !wq 保存 5,10,20,30,40,50 * * * * /bin/bash /home/fasc/eAck_UAT/sendEmail_uat_inst_cronjob.sh >> /home/fasc/eAck_UAT/log/log-cronjob.out.txt 2>&1 每小时5,10,20,30,40,50执行sendEmail_uat_inst_cronjob.sh 文件。
最新回复(0)