fix crontab
All checks were successful
ci/woodpecker/push/tests Pipeline was successful

This commit is contained in:
Ivan Schaller 2022-05-29 16:00:21 +02:00
parent 6fde304bf0
commit 7be856f829
2 changed files with 3 additions and 3 deletions

View file

@ -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
```

View file

@ -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