Quote:
Originally Posted by unSpawn
You could create a cronjob to stop vnstatd at midnight and start it at 8 AM.
|
I thought about that but vnstat needs to be run as sudo to --disable and --enable.
I'm not sure if adding a cron to root would work, I assume so ?
Could I achieve that by doing a "sudo su" then adding them "crontab -e" and add it that way ?
I am on Ubuntu 10.04 and haven't fiddled with root crontab before.
Thank you again for your continued suggestions.