Home Dashboard Directory Help
Search

New-ScheduledTaskTrigger by DKYang


Status: 

Closed
 as Not Reproducible Help for as Not Reproducible


1
0
Sign in
to vote
Type: Bug
ID: 788546
Opened: 5/23/2013 11:13:33 PM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

hi,
i try to regist a new ClusteredScheduledTask on windows server 2012 with power shell. but the task can't set the RepetitionInterval and RepetitionDuration properly.

$T = New-ScheduledTaskTrigger -Once -At 08:10AM -RepetitionInterval (New-TimeSpan -Hours 1) -RepetitionDuration (New-TimeSpan -Hours 12)

Task Scheduler ui can see Triggers only execute once on 08:10 but no RepetitionInterval and RepetitionDuration.

can you tell me what went wrong? thanks.
Joe
Details
Sign in to post a comment.
Posted by DKYang on 5/30/2013 at 3:12 AM
nerver mind, i reinstall os, it works again!
Sign in to post a workaround.