I've also heard it to mean 'get to work'.

In my mind, and this could be way off, I had associated it with the old stick/carrot method of getting a mule to work. If he doesn't go for the carrot hanging in front of him make him run from the stick hitting him from behind.