<br><div class="gmail_quote">On 2 October 2012 13:22, Earnie Boyd <span dir="ltr">&lt;<a href="mailto:earnie@users.sourceforge.net" target="_blank">earnie@users.sourceforge.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, Oct 2, 2012 at 7:11 AM, Wipe_Out wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; Can someone explain what running the drupal cron job does and at what<br>
&gt; intervals??<br>
&gt;<br>
<br>
</div><a href="http://drupal.org/cron" target="_blank">http://drupal.org/cron</a><br>
<div class="im"><br>
&gt; Here is the situation.. We are updating a particular field directly in the<br>
&gt; database from another source.. This is working fine but the issue is that<br>
&gt; the updated information doesn&#39;t show on the site straight away..<br>
&gt;<br>
&gt; I have cron running every hour and have the cache lifetimes on the<br>
&gt; performance page set to 10 min but even after waiting an hour and a cron run<br>
&gt; the page still isn&#39;t always updated with the new value of the field..<br>
&gt; Sometimes it is and sometimes it isn&#39;t..<br>
&gt;<br>
<br>
</div>Each module may have a cron hook implementation.  The cron.php process<br>
gets 240 seconds to execute those cron hook implementations.  If the<br>
240 seconds time limit is exceeded then it is possible that some cron<br>
hook implementations do not execute or complete.  I tend to use a 5<br>
minute cycle and use Elysia Cron module to adjust which cron hook<br>
implementations run at various times.<br>
<div class="im"><br>
&gt; The only way I have found to &quot;force&quot; an update is to clear all the caches<br>
&gt; but this seems like a massive overkill..<br>
&gt;<br>
<br>
</div>May strictly be a timing issue.  I don&#39;t know but usually these<br>
effects for me tend to be related to my impatience or a lack of<br>
understanding in the flow.<br>
<div class="im"><br>
&gt; If I can find out when it will update on its own I can set the user<br>
&gt; expectations so they know they have to wait that long for the data to be<br>
&gt; updated..<br>
&gt;<br>
<br>
</div>As explained above, you may be exceeding the 240 second cycle before<br>
the cron hook implementation executes.  The experience will be<br>
variable even with my suggestion of every 5 minutes and Elysia cron.<br>
<br>
&gt; Thanks for any information..<br>
<br>
HTH.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Earnie<br>
-- <a href="https://sites.google.com/site/earnieboyd" target="_blank">https://sites.google.com/site/earnieboyd</a><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></span></blockquote></div><br><div>Thanks Earnie.. That&#39;s useful..</div>