Check out this site.
It basically says to remove anything that would entice the skunk to visit your yard. And in your case I guess it's the cucumbers, which isn't on the list of foods skunks supposedly like.
There are lots of ideas, I hope you find one that works for you.
Good luck!!