What client did you use or did you just do some CLI scripting or something else
Lncli batchopenchannels