To wag school

I watched a programme on TV that featured the expression 'to wag school', ie. to play truant. Having used the 'wagging' expression myself many years ago I was wondering whether there was any historical origin to the phrase?

Replies