Select to view content in your preferred language

Does ArcPro need to be open for a scheduled model to run?

247
2
08-26-2025 06:37 AM
Labels (2)
RandyMcGregor_BMcD
Frequent Contributor

If you create a model in an arcpro document, and set it to run as a scheduled task, will that task run if that arcpro document is not open? 

Thank you,

Randy McGregor

Tags (3)
0 Kudos
2 Replies
PeterHodkinson
Esri Contributor

Hi @RandyMcGregor_BMcD that should be fine but I'd recommend reviewing the guidance provided here also https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/basics/schedule-geoprocessing-t...

For instance: When using a Named User license, check the Sign in automatically check box when signing in to the user account. This is required for the tool to run outside ArcGIS Pro in the scheduled tool Python process.

 

0 Kudos
DavidPike
MVP Notable Contributor

Yes also be aware (unless this is now fixed in later Pro versions) that the generated Python script references the .aprx for some reason.  i.e. ensure you save the .aprx Project before scheduling the model.

then go into Windows task scheduler and set all the options, run as Admin (maybe?), run when not logged in etc etc.  and best to have it run and a Service Account.

0 Kudos