@echo off rem kickoffTheScript.bat echo START rem 1 - 5000 C:\Python27\ArcGIS10.1\python.exe C:\scripts\python\theScript.py rem 5000 - 10000 C:\Python27\ArcGIS10.1\python.exe C:\scripts\python\theScript.py rem 10000 - 15000 C:\Python27\ArcGIS10.1\python.exe C:\scripts\python\theScript.py rem 15000 - 20000 C:\Python27\ArcGIS10.1\python.exe C:\scripts\python\theScript.py echo DONE
You cound set up the processing script so it only processes 5000 records at a timeat the end of the run, have it save the highest record number processedeither in a text file or as a pickled python object (they are sooo nifty...)Then, use a batch file to call the script over and over, as needed.each time it starts, it retrives the new starting point recno from the record file.That effectivly resets python for each run....
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.