Returned result
1 will be returned if the function rescheduled the job.
–1 will be returned if the job was not in a hold or waiting state.
–2 will be returned if the job could not be rescheduled.
–3 will be returned if an unhandled error occurred.
Examples
The following examples all reschedule a job called Daily Run to run in one day’s time: