laptop and a wrench

Bug

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.

Zuletzt veröffentlicht: July 20, 2021 ArcGIS Pro
Bug-ID-Nummer BUG-000140542
EingereichtJune 8, 2021
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Pro
Gefunden in Version2.7
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusNon-Reproducible

Zusätzliche Informationen

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.

Workaround

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000140542

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln