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

Project Activity

See All Activity >

Categories

Logging

Follow AWSDaylight

AWSDaylight Web Site

Other Useful Business Software
Make Recruiting and Onboarding Easy Icon
Make Recruiting and Onboarding Easy

Simple, easy-to-use applicant tracking and employee Onboarding system for any sized organization.

Take away the pain and hassle associated with applicant recruitment, hiring, and onboarding with ApplicantStack. Designed for HR professionals and recruiters, ApplicantStack helps streamline the recruiting and onboarding processes to improve productivity and reduce costs. ApplicantStack provides a complete toolkit that includes tools for posting, launching, and advertising jobs, assessing and managing candidates, collaborating with teams, centralizing information for quick hiring and onboarding, and more.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of AWSDaylight!

Additional Project Details

Operating Systems

Linux

Languages

English, Brazilian Portuguese

Intended Audience

Information Technology, System Administrators, Developers, Management

User Interface

Command-line

Registered

2014-07-07