You can set your own reminder date when you create a task. You can also open system tasks and edit the default reminder date.
The default reminder for a contract ending is two weeks before its end date.