cancelSchedule() Method
In ScheduleService, use the cancelSchedule() method to cancel a currently running scheduled job.
Signature
boolean cancelSchedule(String jobInstanceID, String userID, String password);
Parameters for cancelSchedule() Method
Parameter | Description |
---|---|
String jobInstanceID |
The ID assigned to the instance of the job to be canceled. The jobInstanceID is a string of integers. |
String userID |
Specifies the user name. |
String password |
Specifies the password for the user name. |