<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
They might be from different versions, but I will take a look.<br>
<br>
Jules.<br>
<br>
On 27/08/2010 19:23, Brad Beckenhauer wrote:
<blockquote cite="mid:4C77BC5B020000680005F981@smtp.aafp.org"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 8.00.7600.16625">
<div>
<div>Hi Julian</div>
<div>I'm running the Zendto-Centos-64-3.61 VM and noticed that
there are two cron jobs. I re-installed Zendto 3.61 this
morning and before making any changes, I verified
that both cron jobs are in the default vm image.</div>
<div> </div>
<div>There are the two cron jobs.</div>
<div>a) /etc/cron.d/zendto</div>
<div>5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php
/opt/zendto/config/preferences.php<br>
2 10 * * * root /usr/bin/php /opt/zendto/sbin/rrdInit.php
/opt/zendto/config/preferences.php<br>
2 12 * * * root /usr/bin/php /opt/zendto/sbin/rrdUpdate.php
/opt/zendto/config/preferences.php</div>
<div> </div>
<div>b) /var/spool/cron/root</div>
<div>5 0 * * * /usr/bin/php /opt/zendto/sbin/cleanup.php
/opt/zendto/config/preferences.php<br>
2 0 * * * /usr/bin/php /opt/zendto/sbin/rrdInit.php
/opt/zendto/config/preferences.php ; /usr/bin/php
/opt/zendto/sbin/rrdUpdate.php
/opt/zendto/config/preferences.php</div>
<div> </div>
<div>Since the cron job in Option A is the preferred one, the
cron job for the root user (b) should be removed from default
download image.</div>
<div> </div>
<div>thanks</div>
<div>Brad</div>
</div>
<div> </div>
<div><br>
>>> On 8/6/2010 at 7:49 AM, in message
<a class="moz-txt-link-rfc2396E" href="mailto:4C5C04ED.3040303@ZendTo.com"><4C5C04ED.3040303@ZendTo.com></a>, Jules
<a class="moz-txt-link-rfc2396E" href="mailto:Jules@zendto.com"><Jules@zendto.com></a> wrote:<br>
</div>
<table style="margin: 0px 0px 0px 15px; font-size: 1em;"
bgcolor="#f3f3f3" border="0">
<tbody>
<tr>
<td>
<div style="border-left: 1px solid rgb(5, 5, 5);
padding-left: 7px;">It happens when you call the 2 rrd
scripts too close to each other.<br>
Your root crontab should say this, so they stay well
apart from each other (they were on the same
command-line in earlier releases by mistake):<br>
<br>
5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php
/opt/zendto/config/preferences.php<br>
2 10 * * * root /usr/bin/php
/opt/zendto/sbin/rrdInit.php
/opt/zendto/config/preferences.php<br>
2 12 * * * root /usr/bin/php
/opt/zendto/sbin/rrdUpdate.php
/opt/zendto/config/preferences.php<br>
<br>
Jules.<br>
<br>
On 06/08/2010 13:25, Gavin Silver wrote:
<blockquote
cite="mid:AF3B610E0140EA4C9D8C9D50ECF75D9201BFD3F32E81@galvatron"
type="cite">
<style title="owaParaStyle"><!--P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
<div dir="ltr">whats this business? i truncated a lot
as it all looks pretty similar</div>
<div dir="ltr"> </div>
<div dir="ltr"> </div>
<div dir="ltr">----</div>
<div dir="ltr"> </div>
<div dir="ltr">/usr/bin/rrdtool update
/var/zendto/rrd/zendto.rrd 1280275200:1:1:6774.8<br>
<br>
ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt
to update using time 1280275200 when last update
time is 1280966400 (minimum one second step)<br>
11,12,13<br>
/usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd
1280361600:3:3:9512.0<br>
<br>
ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt
to update using time 1280361600 when last update
time is 1280966400 (minimum one second step)<br>
14,15,16<br>
/usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd
1280793600:3:1:11.0<br>
</div>
<div dir="ltr">------</div>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
ZendTo mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:ZendTo@zendto.com">ZendTo@zendto.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CITP CEng
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.ZendTo.com">www.ZendTo.com</a>
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM
</pre>
</div>
</td>
</tr>
</tbody>
</table>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM
</pre>
</body>
</html>