crontab是Unix和Linux用于设置定时任务的指令。
可在固定间隔时间,执行指定的系统指令或shell脚本。
时间间隔的单位可以是分钟、小时、日月周及以上的任意组合
crontab安装:
yum install crontabs
服务操作说明:
service crond start :启动服务
service crond stop :关闭服务
service crond restart :重启服务
crontab是Unix和Linux用于设置定时任务的指令。
可在固定间隔时间,执行指定的系统指令或shell脚本。
时间间隔的单位可以是分钟、小时、日月周及以上的任意组合
crontab安装:
yum install crontabs
服务操作说明:
service crond start :启动服务
service crond stop :关闭服务
service crond restart :重启服务
上一篇:linux网络管理
下一篇:linux查看当前目录、进程相关
设置定时任务,别再写死了!动态定时任务真的太爽了!
定时任务指令crontab配置
crontab –e2、自行添加命令0 1 * * * sh /opt/r...
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M