What difference do you feel between:

1) He was to do it.
2) He was to have done it.