Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
docs:guide-user:services:network_monitoring:vnstat [2018/07/11 11:55] – [Persistent stats] write operations - added per year flywiredocs:guide-user:services:network_monitoring:vnstat [2018/07/26 23:50] unregistered
Line 254: Line 254:
 == Add for cron and for init == == Add for cron and for init ==
 The below commands will add a cronjob entry that triggers a backup every 6 hours every day, if necessary adjust to an interval you feel comfortable with: The below commands will add a cronjob entry that triggers a backup every 6 hours every day, if necessary adjust to an interval you feel comfortable with:
-<code>echo "*/6 * * * /etc/init.d/vnstat_backup backup" >> /etc/crontabs/root+<code>echo "*/6 * * * /etc/init.d/vnstat_backup backup" >> /etc/crontabs/root
 /etc/init.d/cron restart</code> /etc/init.d/cron restart</code>
  • Last modified: 2021/04/08 01:02
  • by vgaetera