I want to programmatically access the current job id of a geoprocessing script running on ESRI 10.2. The script is what needs to know the job id, not the caller of the script.
While searching, I have seen plenty of examples of how the submit job request returns with the job id. This isn't what I want.
In my script that is running on the server, I want to include the job id in the logs, however I haven't found how to obtain the job in in the script. I initially checked
arcpy.env, but I didn't see anything. Where else should I look?