[BUGFIX] Fix Task examples in scheduler