SchedulingService.enableJob Method

Enables or disables a job.
 

Parameters

id

The job ID.
enable

Flag used to enable or disable the job.

Return Value


Type: jQuery.Promise
Value: Boolean
A promise object that is resolved when the call is completed. If successful, a Boolean indicating success or failure due to the job running is returned.