This is a bash script do that is possible enable or disable daylight saving of yours AWStats reports confs.
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
Features
- Simple enable/disable daylight saving
- Enable or disable multiple confs
- Scheduled on Cron
Categories
LoggingFollow AWSDaylight
Other Useful Business Software
Easily engage and manage non-desk employees with Connecteam’s mobile-first platform that helps improve communication, enhance daily processes and increase productivity with custom checklists, forms, and reports.
Schedule shifts and track accurate work hours with Connecteam’s automated GPS time clock and easily export approved timesheets to payroll. Connecteam helps you keep your employees sharp thanks to knowledge base centers and advanced training courses. Raise morale with employee recognition rewards and keep the entire company updated through the main news feed.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of AWSDaylight!