Oct-05-2016, 07:20 PM
Is there a Python command to remove locks from a ArcGIS file geodatabase? similar to the ...
When a user of ArcGIS Desktop (or runtime application) makes a connection to a file geodatabase, it creates a ***ComputerName_blabla.lock file. i have a process that runs nightly that deletes and replaces some tables, but inevitably i have 5-7 users that leave their application open thus preventing the process to run because there is a schema lock.
Hope this is enough info
- arcpy.DisconnectUser
- arcpy.AcceptConnections
- arcpy.AcceptConnections
When a user of ArcGIS Desktop (or runtime application) makes a connection to a file geodatabase, it creates a ***ComputerName_blabla.lock file. i have a process that runs nightly that deletes and replaces some tables, but inevitably i have 5-7 users that leave their application open thus preventing the process to run because there is a schema lock.
Hope this is enough info