I am doing geoprocesses chained from python using arcpy but when executing through a scheduled task I get a blocking error in that feature class, that is, it cannot be opened with any connection or it is not exclusive.
"Schema Lock Error 000464" But I don't have any open connection regarding that feature class, only the service that is generated.