When we used wooden bunks, we used to paint them with used crankcase oil if they were going to set for a while without cattle on them.