Bleala / Vdirsyncer-DOCKERIZED

Vdirsyncer - sync calendars and addressbooks between servers and the local filesystem. DOCKERIZED!
31 stars 6 forks source link

When restarting container, additional crontab line is added #29

Open jeepeegit opened 1 day ago

jeepeegit commented 1 day ago

When restarting container, additional crontab line is added.

Every time I restart the container an extra crontab line is added. And then executed x times instead of 1 x.

container restarted 2 x and then it says this in the /etc/crontab/vdirsyncer

docker exec -it vdirsyncer /bin/sh -c “cat /etc/crontabs/vdirsyncer” 0/5 /usr/local/bin/vdirsyncer -c /vdirsyncer/config/google_nc.ini metasync && /usr/local/bin/vdirsyncer -c /vdirsyncer/config/google_nc.ini sync 0/5 /usr/local/bin/vdirsyncer -c /vdirsyncer/config/google_nc.ini metasync && /usr/local/bin/vdirsyncer -c /vdirsyncer/config/google_nc.ini sync 0/5 /usr/local/bin/vdirsyncer -c /vdirsyncer/config/google_nc.ini metasync && /usr/local/bin/vdirsyncer -c /vdirsyncer/config/google_nc.ini sync

environment:
  - TZ=Europe/Amsterdam
  - VDIRSYNCER_CONFIG=/vdirsyncer/config/google_nc.ini
  - AUTOUPDATE=false # set to true for automatic Vdirsyncer and dependencies updates on container startup, default to false
  - AUTODISCOVER=false # default false
  - CRON_TIME=0/5 * * * * *
  - AUTOSYNC=true
  - LOG=/vdirsyncer/vdirsyncer.log