task: Convert scheduler parameters

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>