By default, on-line marketing activities are logged into temporary files in the file system and they are processed and moved into the database every minute. This approach may not suit every scenario. For example, if a website uses content personalization based on visitor's activities, it is not possible to wait for so long. For this reason, you have two options if you need to process activities faster.
Store activities directly into database
This option allows to store activities immediately into the database without a delay. You need to add the following key to the appSettings section of your web.config :
<add key="CMSLogActivityImmediatelyToDB" value="true" />
Process activities every few seconds
Hotfix 6.0.5 or higher is required for this option.
Please follow these steps to allow nearly „real-time“ activities processing:
1) In
Site Manager -> Settings -> System, allow the
Use external service setting and set the
Service scheduler interval to 10 seconds (you may set less or more seconds, it depends on your needs)
2) In
Site Manager -> Administration -> Scheduled tasks, edit the
Process activities log task, check that its setting
Use external service is allowed and change the task interval to 10 seconds (input the same value as you have entered in the Settings)
3) Launch the
Kentico Service Manager utility, install and run the
Kentico CMS Scheduler service
Now the online marketing activities should be processed within the specified period.
-zs-
See also:
Online marketing guide
Applies to:
Kentico CMS 6 and higher
Created on
11/16/2011 2:41:53 AM in
On-line marketing