{"id":144,"date":"2003-12-07T21:54:05","date_gmt":"2003-12-07T20:54:05","guid":{"rendered":"http:\/\/www.ianfitter.com\/blog\/2003\/12\/07\/system-crontab-periodic-weekly\/"},"modified":"2009-01-25T13:17:29","modified_gmt":"2009-01-25T13:17:29","slug":"system-crontab-periodic-weekly","status":"publish","type":"post","link":"https:\/\/www.ianfitter.com\/blog\/2003\/12\/07\/system-crontab-periodic-weekly\/","title":{"rendered":"System Crontab &#8211; Periodic Weekly"},"content":{"rendered":"<p>A change between 10.2 and 10.3 in what &#8216;periodic weekly&#8217; performs.<br \/>\n<!--more--><br \/>\nAfter I upgraded from 10.2.8 to 10.3, I noticed that the apache log files were being rotated in the early hours of Saturday morning. Not only that, but only one gzipped file was being maintained. i.e. only .0.gz<\/p>\n<p>I found that the script which runs under the system crontab for periodic weekly, now included a rotation script for the apache logs. This was not present in 10.2. I have verified this on my Powerbook which is still running 10.2.<\/p>\n<p>This did not explain why the archived gzipped files were not being kept back to .4.gz. I found that the presence of other files in \/var\/log\/httpd upset the script. Removing everything except access_log* and error_log* files, allowed the script to function correctly.<\/p>\n<p><u>Update:<\/u><br \/>\n[19 Jan] Following an email exchange with Fr&eacute;d&eacute;ric Latour in Canada, I have commented out the section of &#8216;500.weekly&#8217; which performs the log rotation. I&#8217;ll perform my own log rotations.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A change between 10.2 and 10.3 in what &#8216;periodic weekly&#8217; performs.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[28,3],"class_list":["post-144","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-apple","tag-mac-os-x"],"_links":{"self":[{"href":"https:\/\/www.ianfitter.com\/blog\/wp-json\/wp\/v2\/posts\/144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ianfitter.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ianfitter.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ianfitter.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ianfitter.com\/blog\/wp-json\/wp\/v2\/comments?post=144"}],"version-history":[{"count":0,"href":"https:\/\/www.ianfitter.com\/blog\/wp-json\/wp\/v2\/posts\/144\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ianfitter.com\/blog\/wp-json\/wp\/v2\/media?parent=144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ianfitter.com\/blog\/wp-json\/wp\/v2\/categories?post=144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ianfitter.com\/blog\/wp-json\/wp\/v2\/tags?post=144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}