The soy sauce attracts the earwigs and the vegetable oil makes them unable to get out.– Soapy water along with any of these – cucumber, mint, cayenne pepper, citrus oil, lemon juice, cinnamon, borax, garlic, cloves, coffee grounds, diatomaceous earth...