Good evening I have tried to put a script working as a routine, but if you run it manually it works, with the shedule, it does not work as the image appearsHow can I resolve this issue or create a similar task?
Thank you
aprx = arcpy.mp.ArcGISProject("CURRENT") uses the currently open Pro document. Scheduled tasks normally run outside of Pro, so would need to put the actual path of the aprx in place of CURRENT.
aprx = arcpy.mp.ArcGISProject(r"C:\path\to\project.aprx")
R_
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.