This commit is contained in:
parent
6fde304bf0
commit
7be856f829
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
```
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue