mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
502a331754 | ||
|
|
6203c3c257 | ||
|
|
c7d9ef97ee | ||
|
|
608fc5bbd0 |
4
.github/tweet.md
vendored
4
.github/tweet.md
vendored
@@ -1,2 +1,2 @@
|
||||
🎉 New release: **v25.6.7 - Legacy upgrade removal and Fully Qualified Domain Names 🆎** is live! 🚀
|
||||
Check it out here: https://github.com/jokob-sk/NetAlertX/releases/tag/v25.6.7
|
||||
🎉 New release: **v25.7.3 - 🌍 Arabic translation and various fixes** is live! 🚀
|
||||
Check it out here: https://github.com/jokob-sk/NetAlertX/releases/tag/v25.7.3
|
||||
|
||||
@@ -12,7 +12,7 @@ import sys
|
||||
import requests
|
||||
from requests import Request, Session, packages
|
||||
from requests.packages.urllib3.exceptions import InsecureRequestWarning
|
||||
from nax_pyunifi.controller import Controller
|
||||
from pyunifi.controller import Controller
|
||||
|
||||
|
||||
# Register NetAlertX directories
|
||||
|
||||
@@ -46,6 +46,16 @@ You will need to install dependencies in the container:
|
||||
pip install paramiko
|
||||
```
|
||||
|
||||
You could achieve this by mounting a custom cron file to `/etc/crontabs/root`:
|
||||
|
||||
```bash
|
||||
# Schedule cron jobs
|
||||
* * * * * /app/back/cron_script.sh
|
||||
* * * * * /opt/venv/bin/python3 -c "import paramiko" || (/opt/venv/bin/pip install paramiko >/dev/null 2>&1 && sed -i '/pip install paramiko/d' /etc/crontabs/root)
|
||||
```
|
||||
|
||||
Please double check the [default cron file](https://github.com/jokob-sk/NetAlertX/blob/main/install/crontab) hasn't changed.
|
||||
|
||||
#### Using Password Authentication
|
||||
```sh
|
||||
./script.py --host 192.168.1.1 --username admin --password mypassword --output /tmp/dnsmasq.leases
|
||||
|
||||
Reference in New Issue
Block a user