Cinnimon and Cayanne and Ants do not agree. The spices burn their little feet and they can't cross over the line. I sprinkle it in the places where they try to come out of the wall. I did it once in my bathroom when they would raid our laundry - why i don't get it but ew... one time and they stayed away for three years. it was like they remembered it or something.
I use vinegar diluted with some water for almost all my cleaning needs. I haven't found anything that it can't do...