做网站的属于什么,乌海网络推广,赣州网站优化制作,wordpress js写法yum -y install vixie-cron
yum -y install crontabs 说明#xff1a;vixie-cron 软件包是 cron 的主程序#xff1b;crontabs 软件包是用来安装、卸装、或列举用来驱动 cron 守护进程的表格的程序。 二、配置 cron 是 linux 的内置服务#xff0c;但它不自动起来#xff0… yum -y install vixie-cron
yum -y install crontabs 说明vixie-cron 软件包是 cron 的主程序crontabs 软件包是用来安装、卸装、或列举用来驱动 cron 守护进程的表格的程序。 二、配置 cron 是 linux 的内置服务但它不自动起来可以用以下的方法启动、关闭这个服务 service crond start //启动服务
service crond stop //关闭服务
service crond restart //重启服务
service crond reload //重新载入配置
service crond status //查看crontab服务状态 在CentOS系统中加入开机自动启动: chkconfig --level 345 crond on 例子 01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly 转载于:https://www.cnblogs.com/leon-1125/p/8466229.html