- clone repository, install libs check outdated
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
pip list --outdated # show outdated libs
- get and log IP to fie
python log_ip_to_file.py
- add new cron job
crontab -e
0 * * * * cd /home/funker/git/py-ip-log && $(which python3) log_ip_to_file.py >> cron-log.log 2>&1