Archive monthly stats


(jeroen) #1

Hi there,

I scheduled archive.sh as a cronjob after making the usual changes to archive.sh. In archive.sh I noticed that the loop “for period in day week year; do” only archives day week and year stats. Can I change this line into “for period in day week month year; do” so monthly stats are also archived?


(mauser) #2

[quote=jeroen @ Feb 3 2009, 11:52 AM]Hi there,

I scheduled archive.sh as a cronjob after making the usual changes to archive.sh. In archive.sh I noticed that the loop “for period in day week year; do” only archives day week and year stats. Can I change this line into “for period in day week month year; do” so monthly stats are also archived?[/quote]

archiving year stats triggers month archiving, so it is not needed