Scent repellents are another option: Gardeners recommend planting a buffer of aromatic plants that cats find offensive, such as the herbs rosemary and rue or the «
scaredy cat plant» (make sure any plants aren't invasive in your area, or keep them in pots).