windowspowershellscheduled-tasksfailovercluster

Add monthly clustered task in PowerShell


I have a big problem with creating: clustered monthly task on windows server via PowerShell.

All info which I found about my problem was monthly, but locally. I need tasks on cluster.

Anyone can help me with some code to create that task ?

Best regards. Bartolini


Solution

  • I decided to create daily tasks. On startup parameters I will sent a day number and month. Then check on which date number and month I want to run that task, if it's match then execute.