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
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.
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.