Hi,
I'm looking at running af 2-node failover-cluster in Server 2012 and would like to make use of the new cluster scheduled tasks ability.
Reading through a lot of guides online, i'm onboard with managing the tasks from powershell. So far i created tasks and bound them to a ressource.
But all the guides mention, that tasks should be visible in the Task Scheduler snap-in for MMC. I just cant find them.
I've checked the Failover Cluster section on both nodes (locally and on the role name) and the tasks is nowhere to be found.
What am i doing wrong?
Also. anyone knows how to manually start a scheduled task from powershell?
# This schedules a tasks...
# The batch file pipes text to a file
$action = New-ScheduledTaskAction –Exec E:\Jobs\test\Runme.bat
$trigger = New-ScheduledTaskTrigger –At 10:13 –Daily
$trigger.RepetitionInterval = (New-TimeSpan -Minutes 5)
$trigger.RepetitionDuration = (New-TimeSpan -Days 1)
Register-ClusteredScheduledTask –Cluster “srv2012cl1n1” –TaskName kasper-test –TaskType ResourceSpecific –Resource “Cluster Disk 1” –Action $action –Trigger $trigger
Kasper