Pretty sure that’s not the supported method anymore.
You just create a bat file and schedule with the windows scheduler.