diff --git a/docker/README.md b/docker/README.md index 27b11f7..2b75c93 100644 --- a/docker/README.md +++ b/docker/README.md @@ -49,12 +49,12 @@ To use your own schedule you need to mount (override) the default crontab or add ```yml # docker-compose.yml volumes: - - ./crontab:/etc/cron.d/01_manga-dlp # overwrites the default one + - ./crontab:/etc/cron.d/01_mangadlp # overwrites the default one - ./crontab2:/etc/cron.d/02_something # adds a new one ``` ```sh -docker run -v ./crontab:/etc/cron.d/01_manga-dlp # overwrites the default one +docker run -v ./crontab:/etc/cron.d/01_mangadlp # overwrites the default one docker run -v ./crontab2:/etc/cron.d/02_something # adds a new one ``` diff --git a/docker/rootfs/etc/cron.d/01-manga-dlp b/docker/rootfs/etc/cron.d/01_mangadlp similarity index 89% rename from docker/rootfs/etc/cron.d/01-manga-dlp rename to docker/rootfs/etc/cron.d/01_mangadlp index 3547e86..6225fb8 100644 --- a/docker/rootfs/etc/cron.d/01-manga-dlp +++ b/docker/rootfs/etc/cron.d/01_mangadlp @@ -2,4 +2,4 @@ # and get all (new) chapters of the mangas in # the file mangas.txt -0 3 * * * abc python3 /app/manga-dlp.py --read /app/mangas.txt -c all +0 3 * * * abc python3 /app/manga-dlp.py --read /app/mangas.txt -c all --wait 2