can't manage caching with python

125
1
07-27-2018 04:01 AM
MannusEtten2
New Contributor II

I try to build a batch-file which makes use of the managecachetiles.py which comes with the installation of ArcGIS Server.

but if I try to run it, it fails with getting a token.

I dived a bit into the source code of this script and I think the problem is our base deployment. I want to run the script on the arcgis server-machine but the portal with token generator are on the other machine.

how can I still continue with building a script for caching map services?

I have tried as well to build a model in model builder to do this, but if I run this on the server it can't create a proper mapserver-object.

so now we are a bit stuck.

0 Kudos
1 Reply
MannusEtten2
New Contributor II

in arcgis pro only the tool manage server cache works, if I put this in a model with model builder it doesn't run....

0 Kudos