Forums / Setup & design / Runcronjobs.php not working???
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 processesStatus list
0 out of 0 processes was finished
Running cronjobs/notification.phpStarting 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 2260Allowed 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
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
Wednesday 04 May 2005 7:25:23 am
What version of ez do you use? Running the crons 3.5.1 works for me.
Wednesday 04 May 2005 7:42:25 am
Version: 3.5.2 (3.5.2)SVN revision: 10972
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.