laptop and a wrench

Error

Scheduled geoprocessing tools fail to run when using the 'Run whether user is logged on or not' option in Windows Task Scheduler with the default 'Action-Start In' settings configured in ArcGIS Pro.

Última publicación: July 20, 2021 ArcGIS Pro
Número de ID del error BUG-000140542
EnviadoJune 8, 2021
Última modificaciónJune 5, 2024
Relacionado conArcGIS Pro
Versión encontrada2.7
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoNon-Reproducible

Información adicional

Reproducible testing on two different machines by two different people did not replicate the issue on ArcGIS Pro 2.8. The issue is not reproducible on the current 2.9_30995 development build, as three tests on three different machines showed. We recommend the user, if possible, run the workflow on a different machine, or have a colleague run the workflow on their machine.

Solución alternativa

This issue is related to Windows Task Scheduler. To resolve the issue, follow the steps below:

  1. Open Windows Task Scheduler.
  2. Open the properties of the scheduled task.
  3. Open the 'Actions' tab.
  4. Double-click the 'Start a program' action.
  5. In the Program/script text box, type pythonw.exe.
  6. In the 'Start in (optional)' text box, type the path for the Python environment. The default is C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3.
  7. Click OK. The task runs as expected.

Pasos para reproducir

ID del error: BUG-000140542

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga