Watch for new versions and notify by email.
Written in Python 3.
- Python 3.7+
- Python packages:
- Maligun account for sending email
- crontab
Setup on CentOS 8:
# Install Python 3.11
sudo yum install python3.11 python3.11-pip
# Use venv. Optional
python3 -m venv .venv
source .venv/bin/activate
pip3 install -U pip
# Install pip dependencies
pip3 install -r requirements.txt
Since some email service providers (such as Gmail) requires SSL to send email to them, and it's quite complicated to setup with postfix.
Create config/settings.ini
, and change config/nvchecker.ini
as needed.
Run python3 main.py
to check at once.
Add the following to crontab
to check regularly:
# Minute Hour Day Month Day_of_week Command
0 * * * * cd /path/to/version-watcher && ./main.py &>> log/cron.log
# For venv:
# 0 * * * * cd /path/to/version-watcher && source .venv/bin/activate && ./main.py &>> log/cron.log