Earwig controls sold in garden centers is an effective means to rid your garden of earwigs.
They are basically sawdust treated with an attractant, and do not contain poison. The earwig cannot digest the sawdust and dies.
Plain sawdust will work,
just not as effectively. Sprinkle either generously around your garden, and re-apply every few weeks.