您好,欢迎来到 - 67学习网 - http://www.67xuexi.com !

利用logrotate对MySQL日志进行轮转

摘要:从上面的配置我们可以知道,/etc/cron.daily是在每天凌晨4:02执行。也就是说,每天4:02分/etc/cron.daily/logrotate将会自动执行,下面是它的内容: 双击代码全选 1 2 3 4 5 6 7 8 #!/bin/sh /usr/sbin/logrotate /etc/logrotate.conf EXITVALUE=$? 上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19]
利用logrotate对MySQL日志进行轮转,标签:服务器,操作系统教程大全,http://www.67xuexi.com
  从上面的配置我们可以知道,/etc/cron.daily是在每天凌晨4:02执行。也就是说,每天4:02分/etc/cron.daily/logrotate将会自动执行,下面是它的内容:

双击代码全选 1 2 3 4 5 6 7 8 #!/bin/sh         /usr/sbin/logrotate /etc/logrotate.conf  EXITVALUE=$? 

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25]  下一页


Tag:服务器_操作系统教程服务器,操作系统教程大全电脑教程 - 服务器_操作系统教程

《利用logrotate对MySQL日志进行轮转》相关文章