Comments (4)
Hello!
It seems you are doing everything right. I've just copy-pasted your command and docker successfully launched detached container (-d) that survived docker daemon restart (--restart unless-stopped).
What makes you think that something is wrong?
from docker-automysqlbackup.
Hi Dmitry,
thanks for immediate answer.
yes, container starts correctly with -d. But backup is not started at time specified in -e CRON_SCHEDULE="10 06 * * *".
I use Ubuntu 18.04 and Docker 19.03.5
I'm sorry for incomplete specification.
Jan
from docker-automysqlbackup.
There should not be any difference for cron between starting container in foreground or detached mode.
Try passing CRON_SCHEDULE="* * * * *"
to run the automysqlbackup cron job every minute to see whether backups are working.
Also it may be possible that container uses UTC timezone, so 10 06 * * *
will be in UTC rather than your local timezone. But that's only guessing.
from docker-automysqlbackup.
CRON_SCHEDULE="* * * * *" runs correctly.
You are right that it is necessary specify UTC time. Our is +1 hour.
The problem was in my wrong hour specification. Leading zero in hour makes troubles. I should use CRON_SCHEDULE="10 6 * * *" instead of CRON_SCHEDULE="10 06 * * *".
Many thanks for help. Noe it runs :)
from docker-automysqlbackup.
Related Issues (17)
- Startup jobs (cron/backup) don't work HOT 3
- Got error: 1556: You can't use locks with log tables when using LOCK TABLES HOT 2
- start.sh - bad substitution
- feature request: add ignore table env variable HOT 3
- Typo version mysql5.7 HOT 1
- Add ability do disable weekly / monthly backup HOT 2
- Add Support for Ports HOT 4
- Regularly (re)build of the image HOT 1
- File and directory rights of the backuped files. HOT 10
- How to send error notications? HOT 1
- Can the container cron wake up the host? HOT 2
- Add Retention Options HOT 2
- releases? HOT 1
- MySQL 8: caching_sha2_password not supported HOT 4
- selim13/automysqlbackup:2.6-3-debian doesn't do full backups HOT 1
- Not creating any backups HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-automysqlbackup.