Tag Info

New answers tagged

0

Update: I see this is the syslog for the crontab that is setup to run at the beginning of the day to restart samba and nothing else in the syslog: Dec 19 00:00:01 storage /USR/SBIN/CRON[25935]: (root) CMD (/etc/init.d/samba restart) I get this in my email report setup: Stopping Samba daemons: nmbd/etc/init.d/samba: 119: start-stop-daemon: not found ...


0

The current repo package doesn't contain a service anymore. It does however contain a cron. (not enabled by default) Installation : yum install vnstat # depends obv vnstat -u -i eth0 vnstat -u -i eth1 vnstat -u -i bond # the cron EDITOR=nano crontab -e */5 * * * * root /usr/sbin/vnstat.cron # edit your options inside /etc/sysconfig/vnstat ...


0

Your crontab should look like this: 0 * * * * /etc/init.d/samba restart >> /dev/null 2>&1 Also be sure you are sudo when editing this cron, eg. with: sudo crontab -e



Top 50 recent answers are included