Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Monday 30 January 2006 1:00:44 am - 2 replies
Ćukasz Serwatka
Monday 30 January 2006 11:32:03 pm
Hi Albert,
Did you setup cronjob for eZ publish?
http://ez.no/products/ez_publish_open_source_enterprise_cms/documentation/installation/the_cronjob_script
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Albert Hornos
Tuesday 31 January 2006 1:00:59 am
Thank you very much!
I've solved the problem adding this at index.php
/* Run Notification Filters */ $notifyFilterLastRunTimeFile = 'ezfilternotify_last_runtime'; $filterAutoRunInterval = 7200; //2 hours $runFilter = false; if( file_exists($notifyFilterLastRunTimeFile) ) { if( time() - filemtime( $notifyFilterLastRunTimeFile ) > $filterAutoRunInterval ) { $runFilter = true; } } else $runFilter = true; if( $runFilter ) { include_once( 'kernel/classes/notification/eznotificationeventfilter.php' ); touch($notifyFilterLastRunTimeFile); eZNotificationEventFilter::process(); }
It runs automatically the cronjob for notification when someone access the site, but only every 2 hours.
All of this is explained at this link:
http://ez.no/products/ez_publish_open_source_enterprise_cms/documentation/configuration/configuration/cron_jobs
You must be logged in to post messages in this topic!