Linux实用篇-定时任务调度

任务调度:指系统在某个时间执行的特定的命令和程序。

crontab定时任务

基本语法:

crontab [选项]

常用选项

功能

-e

编辑crontab定时任务

-l

查询crontab任务

-r

删除当前用户所有的crontab任务

service crond restart 

at定时任务

at 定时任务
at **** 
Ctrl + D  两次  结束at命令的输入
at q 查看有没有at定时任务
at rm 删除某个at定时任务队列

猜你喜欢

转载自blog.csdn.net/2301_76354366/article/details/128850146