add WireGuard status processing and caching functionality

This commit is contained in:
Eduardo Silva
2026-01-07 11:07:45 -03:00
parent bf0ada3d89
commit 41fbf442f2
7 changed files with 179 additions and 2 deletions

View File

@@ -1,2 +1,3 @@
* * * * * root /usr/bin/curl -s http://wireguard-webadmin:8000/api/cron_check_updates/ >> /var/log/cron.log 2>&1
*/10 * * * * root /usr/bin/curl -s http://wireguard-webadmin:8000/api/cron_update_peer_latest_handshake/ >> /var/log/cron.log 2>&1
* * * * * root /usr/bin/curl -s http://wireguard-webadmin:8000/api/cron_refresh_wireguard_status_cache/ >> /var/log/cron.log 2>&1