Scheduling batch files to run at prescribed times
Once created, your batch files can then be scheduled to run at prescribed times using the Windows Scheduler.
Getting ready
Many geoprocessing scripts are time-intensive and best run after hours when they can take full advantage of system resources and free up your time to concentrate on other tasks. In this recipe, you will learn how to use the Windows Scheduler to schedule the execution of your batch files.
How to do it...
Follow these steps to schedule a batch file with the Windows Scheduler:
- Open the Windows Scheduler by going to Start | Programs | Accessories | System Tools | Control Panel | Administrative Tools. Select Task Scheduler. The scheduler should appear, as shown in the following screenshot: ...
Get Programming ArcGIS 10.1 with Python Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.