Which extension woild be better to refresh a page after doing the cronejob to see the changes in client system

Author Message

Romeo Antony

Sunday 04 July 2010 9:58:02 pm

In ez , I have applied the crone job.And crone job is working good.But I need to refresh the webpage( click F5) eachtime in clientside to see the changes that made by cronejob.So to refresh the page technology like ajax or javascript be better.Which extension should I use.Any suggestions or links will be helpful.

The view of the page , were looking at on local machine will remain as the page was when you requested the page - in other words we have a snapshot of the page when last had a refresh (or arrived at the page,snapshot ).
So to see the changes yourself in your browser (that have already happened on the server and are live) you have to take another snapshot (by refreshing).
There are clever things that can be done with ajax in pages etc which refresh bits of a page as you go along, or can specify that the page should be refreshed on a regular basis using meta tags but the fact remains - without a refresh we will only ever have the snapshot of the site as it was when you arrived.

Any ez extension do the above .Any suggestion will be helfull

Thanks in advance

Yannick Komotir

Tuesday 06 July 2010 2:27:48 am

Hi,

if all you looking for is just refreshing page after x time i don't think it's exist extension for this. You can do that with a piece of javascript like

<script>
setTimeOut("window.location.reload()", 300000);
</script>

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

Romeo Antony

Thursday 08 July 2010 1:22:05 am

Thank you Yannick...........................Romeo

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 05:08:45
Script start
Timing: Jan 18 2025 05:08:45
Module start 'layout'
Timing: Jan 18 2025 05:08:45
Module start 'content'
Timing: Jan 18 2025 05:08:45
Module end 'content'
Timing: Jan 18 2025 05:08:45
Script end

Main resources:

Total runtime0.0149 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.6719152.7188
Module start 'layout' 0.00580.0025 741.390639.5859
Module start 'content' 0.00840.0044 780.976689.6484
Module end 'content' 0.01280.0021 870.625034.3047
Script end 0.0149  904.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002617.1913140.0002
Check MTime0.00117.4475140.0001
Mysql Total
Database connection0.00096.356110.0009
Mysqli_queries0.002415.808730.0008
Looping result0.00000.094410.0000
Template Total0.001711.410.0017
Template load0.00095.839210.0009
Template processing0.00085.536810.0008
Override
Cache load0.00064.168610.0006
General
dbfile0.00031.921980.0000
String conversion0.00000.062440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs