urlwatch Howto (1)
Installation
Install the Python packages:
pip3 install --upgrade 'urlwatch'
Configuration
Create a separate user:
useradd 'urlwatch'
Change to the new user:
su - 'urlwatch'
Configure urlwatch:
urlwatch --edit-config
NOTE:
By default the application configuration file is stored under the following path: ${HOME}/.urlwatch/urlwatch.yaml.
Configure the URLs to be monitored:
urlwatch --edit
NOTE:
By default the URL configuration file is stored under the following path: ${HOME}/.urlwatch/urls.yaml.
Edit the cron job and add the following line:
crontab -e
0 0 * * * /bin/urlwatch
Test
List the monitored URLs:
urlwatch --list
Test the configuration:
while read count; do
urlwatch --test-filter "${count}"
done < <(urlwatch --list | sed --regexp-extended 's/^([0-9]+).*$/\1/')