zeenlym / docker-mariadb-backup

Docker image for backing up mariadb
GNU General Public License v3.0
6 stars 5 forks source link

Non-standard cron format #5

Open ibot3 opened 4 years ago

ibot3 commented 4 years ago

The used cron format seems to be wrong. As shown in the readme, running a backup everyday at 3am is

0 0 3 * *

However, this should be 0 3 * * *. A digit for seconds doesn't exist in the Cron standard. It is minute hour day month weekday.

trobinpl commented 1 year ago

I was scratching my head for the past few days why my backup is running every hour instead of only once a day at midnight...