I`ve been showing the new clerk how to use the computer but it`s like flogging a dead horse. He simply can`t remember which keys to press. (English Idioms, Oxford)
Oh nothing is worse Than to flog a dead horse. (BNC)
If something is carried on then it is flogging a dead horse or blind ambition. (BNC)