I had a friend who put a mouse trap in her flower pots. Cats did not come back.They make commercial products to keep cats and dogs away. Just a little sprinkled on top the dirt and they won't come back.You would have to be careful but maybe a capful of ammonia in an old bottle lid.Keeps them out of the garbage.Good luck.