File: vnstat.cron

package info (click to toggle)
vnstat 1.11-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 576 kB
  • sloc: ansic: 6,571; sh: 336; perl: 150; makefile: 85
file content (2 lines) | stat: -rwxr-xr-x 164 bytes parent folder | download | duplicates (2)
1
2
# run vnstat update every 5 minutes if installed
*/5 *	* * *	root	if [ -x /usr/bin/vnstat ] && [ `ls /var/lib/vnstat/ | wc -l` -ge 1 ]; then /usr/bin/vnstat -u; fi