Moduleurn:org:ten60:netkernel:util:cron
The
cronDelete
accessor is exported by the urn:org:ten60:netkernel:util:cron module.
Import this module to gain access to the accessor.
Syntax
Argument | Rules | Description | job | Mandatory | the job name to delete |
Example UsageDPML<instr> <type>cronDelete</type> <job> <job> <name>Reset Server</name> </job> </job> <target>var:isDeleted</target> </instr> NetKernel Foundation API
import com.ten60.netkernel.urii.aspect.IAspectBoolean;
import org.ten60.netkernel.layer1.representation.StringAspect;
main()
{ jobName="Reset Server";
request = context.createSubRequest("active:cronDelete");
request.addArgument("job",new StringAspect("<job><name>"+jobName+"</name></job>"));
request.setAspectClass(IAspectBoolean.class);
isDeleted = context.issueSubRequestForAspect(request).isTrue();
} Purpose |