andig/carddav2fb

Using config.cron container ends with "sleep: invalid number '4h'"

Closed this issue · 3 comments

Using the config.cron file in data folder with following content:
INTERVAL=4h
RUN_OPTIONS=

Running the docker container it runs through with a successfull convertion but then ends with with following message:
sleep: invalid number '4h'

andig commented
andig commented

I'm closing this one as I cannot repro. The default 4h setting works fine for me when mounted into the container. Feel free to reopen with steps to reproduce.

Skyr commented

@kremanjel wild guess: Did you edit the config file on Windows? Then you probably have a file with Windows line endings (crlf), which causes strange errors in Linux shells.