-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Thanks for this script! I'm finally getting around to running it via launchd. The Jamf Pro functionality looks perfect - it sure beats listing the model IDs manually in the script, which was my original plan. 😄
I'm running into a weird error, though - any idea?
I created a new JSS user, and gave them the ability to read Mobile Devices. Here's the command I'm running:
/usr/local/precache/precache.py --cache-server http://my.server.tld:49240 --jamfserver https://my.jss.tld:8443 --jamfuser myusername --jamfpassword mypassword
Here's the bash -x output:
+ /usr/local/precache/precache.py --cache-server http://my.server.tld:49240 --jamfserver https://my.jss.tld:8443 --jamfuser myusername --jamfpassword mypassword
precache version 1.1.2
Caching Server: http://my.server.tld:49240
Processing feeds. This may take a few moments.
Can not load models from jamf: <urlopen error [Errno 8] nodename nor servname provided, or not known>
The JSS URL is reachable from the server that's running this script - I was able to load the URL in Safari with no issues. Any idea what could be wrong?
Thanks!
Mike
Metadata
Metadata
Assignees
Labels
No labels