vimagick / dockerfiles

:whale: A curated list of delicious docker recipes 🇺🇦🇮🇱 (Let's Fight Against ************)

Home Page:https://hub.docker.com/u/vimagick/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

urlwatch: Allow configuration of crontab entry

schildbach opened this issue · comments

Currently it appears to be hardcoded to every half hour. I would like to use an argument or environment variable to change that (without rebuilding the docker image from the dockerfile).

If you want to change the interval, you can mount a crontab config file.

# /path/to/your/file -> /etc/crontabs/root

*/5 * * * * cd /root/.urlwatch && urlwatch --urls urls.yaml --config urlwatch.yaml --hooks hooks.py --cache cache.db

-v /path/to/your/file:/etc/crontabs/root