1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 02:51:50 +00:00

Put vnstat backup cron in a vnstat file

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-11-01 09:27:09 +01:00
parent e362bc1add
commit df9d3fcc15

View file

@ -29,6 +29,7 @@ if [ "$(uci -q get openmptcprouter.latest_versions)" = "" ]; then
fi fi
fi fi
rm -f /tmp/luci-indexcache rm -f /tmp/luci-indexcache
echo '0 */2 * * * /etc/init.d/vnstat_backup backup' > /etc/crontabs/root rm -f /etc/crontabs/vnstat
echo '0 */2 * * * /etc/init.d/vnstat_backup backup' > /etc/crontabs/vnstat
exit 0 exit 0