Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README | 2014-07-11 | 1.0 kB | |
CHANGELOG | 2014-07-11 | 96 Bytes | |
AWSDaylight.sh | 2014-07-11 | 2.6 kB | |
Totals: 3 Items | 3.7 kB | 0 |
Files: - AWSDaylight.tar.gz |-- AWSDaylight.sh |-- README |-- CHANGELOG Using AWSDaylight Extract AWSDaylight.tar.gz to awstats/tool path and run AWSDaylight.sh respecting the options. The options are: AWSDaylight.sh -t TIMEZONE -c CONFS -d -n [-p PATHCONFS] -h -h : Show this help message -t : Define timezone of normal time. Ex.: -3 (to Brazil) -c : Define confs to be changed. Ex.: site1,site2 (comma separated) -d : Set daylight saving -n : Set normal time -p : (optional) Define path of awstats.site.conf. Default is /etc/awstats/ To schedule execution on crontab. Follow an example from cron from brazilian time setup: 59 23 15-21 10 0 <PathToAWSDaylight>/AWSDaylight.sh -t -3 -c site1,site2 -d 59 23 15-21 2 0 <PathToAWSDaylight>/AWSDaylight.sh -t -3 -c site1,site2 -n This example is to execute on third sunday of October and on third sunday of february. It run at 23:59 because on this example the AWStats going to generate the report on the next day.