We study information as an incentive device in a dynamic moral hazard framework. An agent works on a task of uncertain difficulty, modeled as the duration of required effort. The principal knows the task difficulty and provides information over time. The optimal mechanism features moving goalposts: an initial disclosure makes the agent sufficiently optimistic that the task is easy. If the task is indeed difficult, the agent is told this only after working long enough to put the difficult task within reach. The agent then completes the difficult task even though he never would have chosen to at the outset.