Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When restarting container, additional crontab line is added #29

Closed
jeepeegit opened this issue Oct 2, 2024 · 1 comment
Closed

When restarting container, additional crontab line is added #29

jeepeegit opened this issue Oct 2, 2024 · 1 comment

Comments

@jeepeegit
Copy link

jeepeegit commented Oct 2, 2024

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
@Bleala
Copy link
Owner

Bleala commented Oct 4, 2024

Hello @jeepeegit

Your issue should be fixed by the following PR: #31

The new container is currently building and should be available soon with the new release 2.5.5

Greetings

@Bleala Bleala closed this as completed Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants