Develop > Presentation layer > Customize marketing > Marketing customization: Management Center > Customizing triggers, targets, and actions
Changing the daily scheduled time for marketing triggers and lists
You can change the time of day that the SendMarketingTriggers scheduled job processes daily check Dialog activity triggers, and generates best-seller and top-browsed lists. By default, this happens at 2:00 a.m. each day. If this time is not appropriate, you can create a customized version of the wc-admin-component.xml file to specify a different time of day.
The SendMarketingTriggers job processes the following daily check triggers once a day:
- Customer Is In Segment
- Customer Abandons Cart
- Customer Celebrates Birthday
If these triggers are used in Dialog activities to send e-mails with the Send Message action, make sure that the time of day you specify in this task is earlier than the time of day that marketing e-mails are scheduled to be sent in the Administration Console.
To check the send time configured for outbound e-mail activity accounts, see Configure e-mail activity accounts. Leave an hour buffer between the two times, if possible. For example, if the outbound e-mail activity account is scheduled to send e-mails at 4 a.m., set the daily scheduled time for marketing triggers to run no later than 3 a.m.
In addition to processing triggers, the SendMarketingTriggers job generates lists for the following Web activity actions once a day:
- Display Top Browsed
- Display Best Sellers
The time of day is based on the machine where WebSphere Commerce Server is installed.
Procedure
- Open WebSphere Commerce Developer and switch to the Enterprise Explorer view.
- If you already have a customized version of the marketing component configuration file at WC_EAR\xml\config\com.ibm.commerce.marketing-ext\, skip to step 3. If not, create one:
- Navigate to the following path:
WC_EAR\xml\config\
- In the config folder, add a new com.ibm.commerce.marketing-ext folder so the path looks like this:
WC_EAR\xml\config\com.ibm.commerce.marketing-ext\.
- Navigate to the default marketing component configuration file at the following path:
WC_EAR\xml\config\com.ibm.commerce.marketing\
- Copy the default wc-admin-component.xml file to the new com.ibm.commerce.marketing-ext folder you created.
- Open the copied wc-admin-component.xml file in an editor. This copy becomes the customized version of the wc-admin-component.xml file.
- In the customized file at WC_EAR\xml\config\com.ibm.commerce.marketing-ext\wc-admin-component.xml, locate or add the following line:
<_config:property name="dailyScheduledJobTimeForTriggers" value="02:00"/>
- Change the value of the value parameter to a different time of day.
The format for time is hh:mm where:
- hh = two digits representing the hour (00 through 23)
- mm = two digits representing the minute (00 through 59)
- Within the <_config:configgrouping name="MarketingRuntime"> element, remove any properties that are not set differently from the default marketing component configuration file at WC_EAR\xml\config\wc-admin-component.xml. The customized file must contain only the changed properties.
- Save and close the customized wc-admin-component.xml file.
- Restart the WebSphere Commerce server.
- Deploy the customized file to the production environment.
Related concepts
Types of Dialog activity triggers and when they are processed
Triggers in marketing activities
Related tasks
Schedule the SendMarketingTriggers job