jay.gregory

Multiple Python scrips on features classes in same file geodatabase

Discussion created by jay.gregory on Apr 8, 2013
Latest reply on Apr 15, 2013 by kimo
I have about 5 Python scripts running through Windows Task Scheduler (2008 R2) - they run at varying intervals but will occasionally kick off at the same time (for instance if one is on a 10 min internal, the other 30, and the other 60).  They operate on separate feature classes in the same file geodatabase, performing a combination of projections and appends.  I regularly but not predictably (or reproducibly) get errors relating to an inability to access a certain feature class (even though it exists).  Sometimes there is a lock, sometimes the script says it just can't find it (even though it is most certainly there and no other script is operating on the feature class).  Anyway, is there any known issues with multiple python scripts running at once on different feature classes in the same geodatabase.  I can't for the life of me reproduce or figure out why these errors are occurring (granted they only occur about 7% of the time, but still, on 10 minute intervals this ends of being a lot of errors).

Outcomes