Use the Whenever gem's clean ruby syntax for writing and deploying tasks in the windows scheduler, using the same schedule file.