设置lnmp 一小时重启一次

crontab -e

00 01 * * * /root/lnmp restart

00 02 * * * /root/lnmp restart

00 03 * * * /root/lnmp restart

00 04 * * * /root/lnmp restart

00 05 * * * /root/lnmp restart

00 06 * * * /root/lnmp restart

00 07 * * * /root/lnmp restart

00 08 * * * /root/lnmp restart

00 09 * * * /root/lnmp restart

00 10 * * * /root/lnmp restart

00 11 * * * /root/lnmp restart

00 12 * * * /root/lnmp restart

00 13 * * * /root/lnmp restart

00 14 * * * /root/lnmp restart

00 15 * * * /root/lnmp restart

00 16 * * * /root/lnmp restart

00 17 * * * /root/lnmp restart

00 18 * * * /root/lnmp restart

00 19 * * * /root/lnmp restart

00 20 * * * /root/lnmp restart

00 21 * * * /root/lnmp restart

00 22 * * * /root/lnmp restart

00 23 * * * /root/lnmp restart

00 00 * * * /root/lnmp restart

保存就OK了

展开阅读全文

没有更多推荐了,返回首页