Add support for an advanced task scheduler managed by the application.

Maybe `clearScheduledTask_` ?