at/crontab
at
yum -y install at
systemctl start atd
增加任务
增加任务的第三行是
第四行是系统提示任务执行的时间
任务查询
atq
任务删除
atrm + 任务id
at 时间格式
at 00:00 2019-10-01
cron
systemctl start crond
定时任务
-e 进入编辑模式
-l 显示所有的定时任务
-r 清空所有的定时任务
格式
yum -y install at
systemctl start atd
增加任务
增加任务的第三行是
第四行是系统提示任务执行的时间
任务查询
atq
任务删除
atrm + 任务id
at 时间格式
at 00:00 2019-10-01
systemctl start crond
定时任务
-e 进入编辑模式
-l 显示所有的定时任务
-r 清空所有的定时任务
格式