The Esri Community
Services & Programs
GeoNet Resource Hub
to create and rate content, and to follow, bookmark, and share content with other members.
Scheduled publishing using python script
Discussion created by
on Feb 14, 2014
on Feb 14, 2014 by NeoGeo
Show 0 Likes
Looking for a way to schedule a couple of mxds to republish themselves at a certain time every day/week using python or some other way.
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Feb 14, 2014 7:46 PM
There is a sample script in the first link. You can just schedule it in Windows Task Scheduler
I do think it is odd to re-publish an mxd though unless you are programmatically updating the mxd. If it is just the data changing, you don't need to republish the mxd. If it is not updating you can always force it to update by calling AGSSOM (a script you can download) and using it to restart the service. I am sure there are other ways as well.
Show 0 Likes
Retrieving data ...
displaying attachments in popups in AGOL
ArcGIS Online - Feature Attachment Image in Popup
Show attachments in ArcGIS Online pop-up window
How to display a photo, collected from the field, inside the popup without clicking on the photo link
Allow user to only view items shared with their Group