Hi All,
We have developed a Python script using ArcPy to publish a service ArcGIS online dynamically with the following URL.
https://www.esri.com/arcgis-blog/products/arcgis-enterprise/administration/updating-arcgis-com-hosted-feature-services-with-python/?rmedium=blogs_esri_com&rsource=/esri/arcgis/2013/04/23/updating-arcgis-com-hosted-feature-services-with-python/
We have created a task scheduler with 1Hr interval time.
We have signed in ArcMap 10.8 using ArcGIS online account and automatic option checked.
Script ran for few times and after sometime it is throwing error. We noticed that, ArcMap signed out ArcGIS online account.
When we open the ArcMap, script is working fine. If ArcMap closes getting error.
Kindly suggest any solution.