dkruger / docker-rsync-cron

Docker container which allows scheduling regular rsyncs between two volumes.
4 stars 5 forks source link

Crontab entry twice? #3

Open FalconX14 opened 5 years ago

FalconX14 commented 5 years ago

Why is there an enviroment entry in Docker for CRONTAB_ENTRY & RSYNC_CRONTAB? Why are both are necessary? Whats the difference?

And how can I set the timezone for Cron?

mstroppel commented 4 years ago

While CRONTAB_ENTRY will be put just as is into the crontab, RSYNC_CRONTAB is only the "scheduling part" and must not contain the executable.