fradelg / docker-mysql-cron-backup

Docker image to backup all your databases periodically
Apache License 2.0
305 stars 111 forks source link

Install alpine package 'tzdata' to allow passing timezone as environm… #34

Closed keducoop closed 4 years ago

keducoop commented 4 years ago

First of all many thanks to all the people involved in this project for their time.

This change will allow to pass timezone as environment vartiable to the docker container. Example:

  -e TZ=Europe/Madrid

This will ease setting up CRON_TIME environment variable (which by the way would be nice to clarify that uses UTC timezone) to execute the cron job at the right time.