<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16625"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Segoe UI" bgColor=#ffffff text=#000000>
<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 <4C5C04ED.3040303@ZendTo.com>, Jules <Jules@zendto.com> wrote:<BR></DIV>
<TABLE style="MARGIN: 0px 0px 0px 15px; FONT-SIZE: 1em" border=0 bgColor=#f3f3f3>
<TBODY>
<TR>
<TD>
<DIV style="BORDER-LEFT: #050505 1px solid; 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 class=moz-txt-link-abbreviated href="mailto:ZendTo@zendto.com">ZendTo@zendto.com</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.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></BODY></HTML>