Quote Originally Posted by maros View Post
Thanks, I found the reason :-)

You must change the cron setting to run the script each minute. Edit /opt/etc/crontab and change setting from "*/5" to "*/1"

Code:
Old setting:
*/5 * * * * admin nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1

New setting:
*/1 * * * * admin nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1
i have putting that line there already, but not working:

here is what in crontab
Code:
SHELL=/bin/sh 
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/bin:/opt/sbin:/opt/usr/bin:/opt/usr/sbin 
MAILTO="" 
HOME=/ 
# ---------- ---------- Default is Empty ---------- ---------- # 
# Syntax for lines is : minute hour day month dayofweek command # 
*/1 * * * * root run-parts /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1
*/5 * * * * root run-parts /opt/etc/cron.5mins 
01 * * * * root run-parts /opt/etc/cron.hourly 
02 4 * * * root run-parts /opt/etc/cron.daily 
22 4 * * 0 root run-parts /opt/etc/cron.weekly 
42 4 1 * * root run-parts /opt/etc/cron.monthly