Forums / Setup & design / Runcronjobs.php not working???

Runcronjobs.php not working???

Author Message

John Laux

Tuesday 03 May 2005 11:21:33 am

My site is configured on in a WebHotel, and they have increased the memory_limit to 64mb and I am still getting this message (can someone tell me what is going on):

Running cronjobs/workflow.php
Checking for workflow processes
Status list

0 out of 0 processes was finished

Running cronjobs/notification.php
Starting notification event processing

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 184320 bytes) in /home/admin/public_html/www/lib/eztemplate/classes/eztemplatecompiler.php on line 2260
Allowed memory size of 8388608 bytes exhausted (tried to allocate 0 bytes)

Thanks for all of your help!

Jack Rackham

Wednesday 04 May 2005 1:35:20 am

You cud try to skip some of the crons that are "useless" like link check.

#?ini charset="iso-8859-1"?
# eZ publish configuration file for cronjobs.
#
#
# NOTE: It is not recommended to edit this files directly, instead
#       a file in override should be created for setting the
#       values that is required for your site. Either create
#       a file called settings/override/cronjob.ini.append or
#       settings/override/cronjob.ini.append.php for more security
#       in non-virtualhost modes (the .php file may already be present
#       and can be used for this purpose).

[CronjobSettings]
ScriptDirectories[]=cronjobs
Scripts[]=workflow.php
Scripts[]=notification.php
Scripts[]=unpublish.php
Scripts[]=rssimport.php
Scripts[]=indexcontent.php

#Extension directory for cronjobs.
ExtensionDirectories[]

[linkCheckSettings]
# Specify full path of all site URL
# Example:
# SiteURL[]=http://ezpublish.ez.no/admin
# SiteURL[]=http://ezpublish.ez.no/news
SiteURL[]=

# Example of a cronjob part
# This one will only run the workflow cronjob script
#
#[CronjobPart-rssimport]
#Scripts[]=rssimport.php

John Laux

Wednesday 04 May 2005 6:52:59 am

Thanks for the tip, I actually tried what you suggested before I made a post, I am actually trying to get the RSS to work, but I thought that I would start at the first problem.

Could someone please shine some light on this...or should this go in the bug category of the forums???

Thanks John

Jack Rackham

Wednesday 04 May 2005 7:25:23 am

What version of ez do you use? Running the crons 3.5.1 works for me.

John Laux

Wednesday 04 May 2005 7:42:25 am

Version: 3.5.2 (3.5.2)
SVN revision: 10972

Jack Rackham

Wednesday 04 May 2005 8:01:45 am

Then there might be a bug with the cronjob script. I upgraded to 3.5.2 but had to "downgrade" because of problems with the cache. If you upgraded for 3.5.1 I recommend that you "downgrade" if you have a backup, and wait for a new version of ez.

eZ debug

Timing: Jan 31 2025 04:28:18
Script start
Timing: Jan 31 2025 04:28:18
Module start 'content'
Timing: Jan 31 2025 04:28:18
Module end 'content'
Timing: Jan 31 2025 04:28:18
Script end

Main resources:

Total runtime0.2105 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0100 587.9297180.8359
Module start 'content' 0.01000.0220 768.765697.9922
Module end 'content' 0.03200.1785 866.7578526.8047
Script end 0.2105  1,393.5625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00371.7726200.0002
Check MTime0.00150.6896200.0001
Mysql Total
Database connection0.00190.891110.0019
Mysqli_queries0.123558.64301410.0009
Looping result0.00130.59981390.0000
Template Total0.166379.010.1663
Template load0.00090.408510.0009
Template processing0.165578.592810.1655
Override
Cache load0.00060.263210.0006
Sytem overhead
Fetch class attribute can translate value0.00100.486410.0010
XML
Image XML parsing0.00050.224710.0005
General
dbfile0.02089.8607200.0010
String conversion0.00000.004830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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