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.

Last Published: July 20, 2021 ArcGIS Pro
Bug ID Number BUG-000140542
SubmittedJune 8, 2021
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found2.7
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusNon-Reproducible

Additional Information

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.

Steps to Reproduce

Bug ID: BUG-000140542

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options