manga-dlp/docker/rootfs/etc/cron.d/mangadlp

12 lines
384 B
Text
Raw Normal View History

2022-05-29 19:11:38 +02:00
SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
2021-12-24 16:30:50 +01:00
# default crontab to run manga-dlp once a day
# and get all (new) chapters of the mangas in
# the file mangas.txt
2022-05-29 19:11:38 +02:00
# "/proc/1/fd/1 2>&1" is to show the logs in the container
2022-05-29 20:41:10 +02:00
# "s6-setuidgid abc" is used to set the permissions
2022-05-29 19:11:38 +02:00
2022-05-29 20:41:10 +02:00
0 12 * * * root s6-setuidgid abc /app/schedules/daily > /proc/1/fd/1 2>&1
2021-12-24 16:30:50 +01:00