{"title":"logrotate\u306b\u3088\u308b\u30ed\u30b0\u306e\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3","author_url":"https://blog.hatena.ne.jp/key_amb/","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkeyamb.hatenablog.com%2Fentry%2F20120501%2F1335864985\" title=\"logrotate\u306b\u3088\u308b\u30ed\u30b0\u306e\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3 - weblog of key_amb\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","description":"\u79c1\u306e\u74b0\u5883\u306fCentOS 5.3\u3067\u3059\u3002logrotate\u306f/etc/cron.daily/\u306b\u30bb\u30c3\u30c8\u3055\u308c\u3066\u308b\u3002 $ cat /etc/cron.daily/logrotate #!/bin/sh /usr/sbin/logrotate /etc/logrotate.conf EXITVALUE=$? if [ $EXITVALUE != 0 ]; then /usr/bin/logger -t logrotate \"ALERT exited abnormally with [$EXITVALUE]\" fi exit 0 /etc/logrotate.conf\u5185\u3067\u306f\u3001/etc/logrotate.d\u2026","provider_name":"Hatena Blog","categories":["Unix\u7cfbOS"],"type":"rich","version":"1.0","published":"2012-05-01 18:36:25","width":"100%","url":"https://keyamb.hatenablog.com/entry/20120501/1335864985","blog_url":"https://keyamb.hatenablog.com/","author_name":"key_amb","blog_title":"weblog of key_amb","height":"190"}