Added a method to create a nightly windows task.