For 18 years, Todd Palin worked as a “wrench” on two-week shifts for BP on the North Slope.

I understand that wrench implies some sort of physical job here, but could someone give an explanation what such a job would mean?