Returned result
1 will be returned if the function cleared the job logs.
–2 will be returned if the job logs could not be removed..
–3 will be returned if an unhandled error occurred.
Examples
The following examples all clear archived logs older than 90 days for a job called Daily Run: