{"id":30,"date":"2013-05-01T19:01:10","date_gmt":"2013-05-01T17:01:10","guid":{"rendered":"http:\/\/new.cs-ware.de\/?p=30"},"modified":"2013-05-01T21:36:19","modified_gmt":"2013-05-01T19:36:19","slug":"awstats-on-debian-problems-with-new-months","status":"publish","type":"post","link":"https:\/\/www.cs-ware.de\/blog\/archives\/30","title":{"rendered":"AWStats on Debian: Incomplete statistics on new month"},"content":{"rendered":"<p>When you install <a href=\"http:\/\/www.awstats.org\/\">AWStats<\/a> on Debian, buildstatic.sh is executed regularly (once every day via cron \/etc\/cron.d\/awstats) in order to build static statistics pages for the current month (in \/var\/cache\/awstats). However, (on my system) this script is executed every day @3:10am. So in each new month the statistics of the last day of the last month are incomplete. I reported this to Debian with a <a href=\"http:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?msg=10;filename=last-day-missing.patch;att=1;bug=706487\">patch<\/a> included (<a href=\"http:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=706487\">Debian bug #706487<\/a>).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you install AWStats on Debian, buildstatic.sh is executed regularly (once every day via cron \/etc\/cron.d\/awstats) in order to build static statistics pages for the current month (in \/var\/cache\/awstats). However, (on my system) this script is executed every day @3:10am. So in each new month the statistics of the last day of the last month [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,2],"tags":[6,7],"class_list":["post-30","post","type-post","status-publish","format-standard","hentry","category-linux","category-patches","tag-awstats","tag-debian"],"_links":{"self":[{"href":"https:\/\/www.cs-ware.de\/blog\/wp-json\/wp\/v2\/posts\/30","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cs-ware.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cs-ware.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cs-ware.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cs-ware.de\/blog\/wp-json\/wp\/v2\/comments?post=30"}],"version-history":[{"count":5,"href":"https:\/\/www.cs-ware.de\/blog\/wp-json\/wp\/v2\/posts\/30\/revisions"}],"predecessor-version":[{"id":89,"href":"https:\/\/www.cs-ware.de\/blog\/wp-json\/wp\/v2\/posts\/30\/revisions\/89"}],"wp:attachment":[{"href":"https:\/\/www.cs-ware.de\/blog\/wp-json\/wp\/v2\/media?parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cs-ware.de\/blog\/wp-json\/wp\/v2\/categories?post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cs-ware.de\/blog\/wp-json\/wp\/v2\/tags?post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}