mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
update urlwatch
This commit is contained in:
@@ -30,7 +30,7 @@ RUN set -xe \
|
||||
libxslt-dev \
|
||||
openssl-dev \
|
||||
python3-dev \
|
||||
&& echo '*/30 * * * * urlwatch' | crontab -
|
||||
&& echo '*/30 * * * * cd /root/.urlwatch && urlwatch --urls urls.yaml --config urlwatch.yaml --hooks hooks.py --cache cache.db' | crontab -
|
||||
|
||||
VOLUME /root/.urlwatch
|
||||
WORKDIR /root/.urlwatch
|
||||
|
||||
6
urlwatch/data/hooks.py
Normal file
6
urlwatch/data/hooks.py
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import re
|
||||
from urlwatch import filters
|
||||
from urlwatch import jobs
|
||||
from urlwatch import reporters
|
||||
Reference in New Issue
Block a user