I found this fabulous device at Bill’s Idle Mind after a bit of wandering around the internet. A squirrel or rat crawls into a pneumatic rat launching gun and automatically fires itself out the barrel. Optionally into a brick wall or some similarly lethal target.
Then, if you set it up properly, it resets and waits for the next one.
This is a beautiful solution (to an engineer) to a very ugly problem.