Check out a "Cat Scarer" on eBay or Amazon, it attaches to a garden hose and is activated by movement. It keeps cats and the foxes away, I used a trail camera to check it worked at night, never realised a cat could jump so high! Foxes learned to avoid quicker than the cats!