Cleaning tank? When is it safe?

I have even heard of thowing a chain about a foot or two long in the tank when you clean it to help remove any crap stuck to the inside