Select to view content in your preferred language

More time options for scheduling a model in Pro

593
4
05-06-2020 03:01 PM
Status: Open
Labels (1)
MichaelHino2
Occasional Contributor

Scheduling a model from within Pro is definitely a welcomed option Schedule a model—ArcGIS Pro | Documentation, but it would be nice if there were more time options available. One in particular for the month option would be to set a specific day of the week and week number. This option could be useful in a scenario where someone wanted to run a backup script on the first Wednesday of every month.

4 Comments
SStopyak_BruceHarris

When scheduling a geoprocessing task in ArcGIS Pro, the ability to run a task on let's say the first Monday of each month is needed. Currently you can only select a numbered day of the month 1-31 or last. All scheduling options in the Windows Task Scheduler should also be available in Pro's task scheduler.

RPGIS
by MVP Regular Contributor

Hi @SStopyak_BruceHarris,

All tasks scheduled in pro are scheduled in Task Scheduler. If you need to modify the schedule then it is best to do it in the task scheduler after it is created.

SStopyak_BruceHarris

Thanks,@RPGIS , I have seen schedule changes break the history logging. It seems that changes from the Pro Task scheduler are passed to WTS but not vice-versa, especially if the scheduling construction is outside of what can be produced from Pro. Toggling things like "Run when logged off" in WTS is fine but changing the task frequency doesn't seem to work out well. One of the main reasons I prefer to use the Pro task scheduler is the logging.

RPGIS
by MVP Regular Contributor

You can easily run a bat file that logs whenever something runs or fails. There are plenty of examples in the web which I have used in the past when running scripts. Sometimes tools can get hung up in pro which is a typical frustration that some encounter.