Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:test
vnstat
vnstat-cron.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vnstat-cron.patch of Package vnstat
--- examples/vnstat.cron.orig 2009-08-02 12:26:20.000000000 +0200 +++ examples/vnstat.cron 2009-08-02 12:27:24.000000000 +0200 @@ -1,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 +-*/5 * * * * root if [ -x /usr/bin/vnstat ] && ! /usr/bin/killall -9 /usr/sbin/vnstatd 2>/dev/null && [ `/bin/ls -1 /var/lib/vnstat/ | wc -l` -ge 1 ]; then /bin/su -c "/usr/bin/vnstat -u" vnstat; fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor