...
The job is usually scheduled in the onStart()
method and removed in the onStop()
method. To cancel the job, the removeSchedulerJob(String jobName)
method with the name of the job can be invoked. The code snippet below shows an example of how to schedule the job. The schedule itself is defined by a Crontab expression. See also the XperienCentral JavaDoc for the SchedulerJob
for the exact syntax that you need to use for the expression.
...