manga-dlp/docker/rootfs/etc/cron.d/mangadlp
Ivan Schaller f94c11b933
All checks were successful
ci/woodpecker/push/tests Pipeline was successful
change setuidgid from schedule to cron
2022-05-29 20:41:10 +02:00

11 lines
384 B
Text

SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# default crontab to run manga-dlp once a day
# and get all (new) chapters of the mangas in
# the file mangas.txt
# "/proc/1/fd/1 2>&1" is to show the logs in the container
# "s6-setuidgid abc" is used to set the permissions
0 12 * * * root s6-setuidgid abc /app/schedules/daily > /proc/1/fd/1 2>&1