Created
March 6, 2016 23:42
-
-
Save mstaack/cce6e07cb498f7ba816f to your computer and use it in GitHub Desktop.
one-line webserverstats
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00 00 * * * zcat `find /var/log/apache2/ -name "access.log.*.gz" -mtime -35` | goaccess > monthly-$(date +'%Y.%m').html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment