Wednesday 11 October 2006 10:05:31 am
No, if you are using PHP 4.4, it is probably not caused by the reference bug. The following error:
[error] PHP Notice: Undefined variable: relMemory
Is given after the code has crashed (from the cleanup-handler in eZ publish), so check if you have errors before this. I like cronjobs because you do not need all of the startup-code you do in the CLI scripts. Example of cronjob in extension: extension/myext/settings/cronjob.ini.append
[CronjobPart-test]
Scripts[]
Scripts[]=test.php
[CronjobSettings]
ExtensionDirectories[]=myext
extension/myext/cronjobs/test.php
<?php
echo "This is my cronjob
?>
Enable the extension. Then you can run it like this from the ezpublish root dir:
php runcronjobs.php test
http://ez.no/products/ez_publish/documentation/installation/the_cronjob_script
Kristian
http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute
|