Anyone knows how to reset the bandwidth stats for all users using cron command? thanks in advance…
execute this command using ssh
echo "00 07 * * * ubus call gl-clients clean_traffic" >> /etc/crontabs/root
/etc/init.d/cron restart
for time Settings in cron, see [OpenWrt Wiki] Scheduling tasks with cron
2 Likes
Thanks. where i can find these commands “UBUS gl…” docs… I tried to search here and i cant find any reference