Unable to manually run scheduled task after server upgrade from 2012 to 2019

A post was split to a new topic: Import multiple scheduled tasks from XML