Forums / Developer / runcronjobs.php does not work

runcronjobs.php does not work

Author Message

Javier Rodriguez

Monday 26 September 2005 3:08:25 am

I can not work runcronjobs.php (i want exec notification.php)

1. Execution runcronjobs.php shows this error:

Fatal error: eZ publish did not finish its request
The execution of eZ publish was abruptly ended, the debug output is present below.
Warning: (eZCodePageMapper)
Couldn't load input codepage file share/codepages/"iso-8859-1"

Warning: (eZCodePage)
Couldn't load codepage file share/codepages/"iso-8859-1"

Error: (eZCodePageMapper)
Input codepage for "iso-8859-1" is not valid

Warning: (PHP)
Undefined property: SubstituteOutputChar in /pub/var/www/ez/lib/ezi18n/classes/ezcodepagemapper.php on line 93

2. Searching error line...

/* runcronjob.php code */
$ini =& eZINI::instance( 'cronjob.ini' );
$scriptDirectories = $ini->variable( 'CronjobSettings', 'ScriptDirectories' );

runcronjobs.php fails:
First execution $scriptDirectories and other ini variable contains no date
Next executions $ini breaks, perhaps by cache problem too.

3. If I include literal script:
include ('cronjobs/notification.php')
by
include($script)
error is "Memory exhausted" but is processing some seconds.

Thanks in advance