Professional Documents
Culture Documents
SCHEDULER - The Procedural Overview: Creating Custom Scheduler Command
SCHEDULER - The Procedural Overview: Creating Custom Scheduler Command
First we have to create a custom scheduler command and then after we will do the
configuration part.
package com.ibm.commerce.sample;
import com.ibm.commerce.command.ControllerCommand;
package com.ibm.commerce.sample;
import java.util.logging.Logger;
import com.ibm.commerce.command.ControllerCommandImpl;
import com.ibm.commerce.exception.ECException;
<action path="/MyCustomScheduler"
parameter="com.ibm.commerce.sample.MyCustomSchedulerCmd"
type="com.ibm.commerce.struts.BaseAction">
<set-property property="authenticate" value="0:0"/>
<set-property property="https" value="0:1"/>
</action>