Attaching a drain cock for my air compressor to a workbench?
I think you want an automatic compressor drain. It essentially spurts out a little air (and some moisture/condensate with it) each time the compressor motor cycles on. When working properly, they eliminate the need to manually drain down the tank.

http://www.paragoncode.com/shop/compressor/ has a good explanation of how to install the kit.