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 appears
How 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_