readme is a rst file
[awstats-helper.git] / update-lastmonth.php
1 #!/usr/bin/env php
2 <?php
3 /**
4  * Updates last month of awstats for multiple sites.
5  * Should be run on the first day of the next month.
6  */
7 require_once 'functions.php';
8
9 foreach (aws_sites() as $site) {
10     aws_createHtml($site, true);
11     aws_createIndex($site);
12 }
13
14 ?>