On Tue, Oct 2, 2012 at 7:11 AM, Wipe_Out wrote:http://drupal.org/cron
> Hi,
>
> Can someone explain what running the drupal cron job does and at what
> intervals??
>
Each module may have a cron hook implementation. The cron.php process
> Here is the situation.. We are updating a particular field directly in the
> database from another source.. This is working fine but the issue is that
> the updated information doesn't show on the site straight away..
>
> I have cron running every hour and have the cache lifetimes on the
> performance page set to 10 min but even after waiting an hour and a cron run
> the page still isn't always updated with the new value of the field..
> Sometimes it is and sometimes it isn't..
>
gets 240 seconds to execute those cron hook implementations. If the
240 seconds time limit is exceeded then it is possible that some cron
hook implementations do not execute or complete. I tend to use a 5
minute cycle and use Elysia Cron module to adjust which cron hook
implementations run at various times.
May strictly be a timing issue. I don't know but usually these
> The only way I have found to "force" an update is to clear all the caches
> but this seems like a massive overkill..
>
effects for me tend to be related to my impatience or a lack of
understanding in the flow.
As explained above, you may be exceeding the 240 second cycle before
> If I can find out when it will update on its own I can set the user
> expectations so they know they have to wait that long for the data to be
> updated..
>
the cron hook implementation executes. The experience will be
variable even with my suggestion of every 5 minutes and Elysia cron.
> Thanks for any information..
HTH.
--
Earnie
-- https://sites.google.com/site/earnieboyd
--
[ Drupal support list | http://lists.drupal.org/ ]