[ZendTo] Re: Cron errors

Seth Turner sturner at fraunhofer-cmb.org
Thu Dec 13 17:37:30 GMT 2012


Hi Jules,

Here is the cron file:

# /etc/cron.d/zendto: crontab fragment for zendto
5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php
2 10 * * * root /usr/bin/php /opt/zendto/sbin/rrdInit.php /opt/zendto/config/preferences.php
2 12 * * * root /usr/bin/php /opt/zendto/sbin/rrdUpdate.php /opt/zendto/config/preferences.php

Are you saying to change it to:

# /etc/cron.d/zendto: crontab fragment for zendto
5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php
2 10 * * * root /usr/bin/php /opt/zendto/sbin/rrdInit.php /dev/null
2 12 * * * root /usr/bin/php /opt/zendto/sbin/rrdUpdate.php /dev/null

Thank you,
Seth

From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of Jules
Sent: Thursday, December 13, 2012 9:47 AM
To: ZendTo Users
Subject: [ZendTo] Re: Cron errors


On 11/12/2012 23:02, Seth Turner wrote:
Hello everyone,

First, let me express my thanks to Jules. We are new to Zend, but have our virtual server running in production and love it. I do, however, see the following two error emails from cron processes.


"481x188

481x188

481x188

481x188

481x188

481x188

481x188

481x188

481x188

481x188

481x188

481x188

481x188

481x188

481x188

481x188

481x188

481x188

481x188

481x188"
That's rrdgraph generating the usage stats images. Just send the output of the cron job (it's in /etc/cron.d) to /dev/null.







And



"7

/usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1354770000:1:1:35838.3



ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt to update using time 1354770000 when last update time is 1354770000 (minimum one second step)"
Every night it tries to recreate all the stats data it can from the entire month's worth of data available to it, in case your RRD stats file gets deleted or corrupted by mistake. But if the data is intact and okay, rrdtool complains when it tries to overwrite the old data in the file.

Again, this is quite harmless and you can just send the cron job output to /dev/null.

Jules.







Any suggestions on a fix?



Regards,

Seth




_______________________________________________

ZendTo mailing list

ZendTo at zend.to<mailto:ZendTo at zend.to>

http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto



Jules



--

Julian Field MEng MBCS CITP CEng

www.Zend.To<http://www.Zend.To>



Twitter: @JulesFM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654



'Think globally, act locally.' - Friends of the Earth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20121213/c508380f/attachment.html 


More information about the ZendTo mailing list