If using cinnamon powder, create a powder barrier around your garden's plants, the walls inside your home, or even on counters to keep earwigs from walking around.
Alternatively, spray a mix of cinnamon oil diluted in water onto plants to better target and kill the bugs. Since its odor lasts the longest, it's highly effective against earwigs.