Author Posts

July 4, 2015 at 4:01 am

Is there a way I can use the -daily parameter set to trigger a job and use repetition parameter set with it??

Repition works when I use the -Once parameter set however I cant figure it out how to use it with -Dialy parameter set.

New-JobTrigger -Daily -At 12:00 -RepeatIndefinitely -RepetitionInterval (New-TimeSpan -minutes 5)

Any help?? , TIA

July 5, 2015 at 9:49 am

Hi Soma,

There is no parameter set which allows this, since a job scheduled to occur daily is effectively a repetition interval of 24 hours.

July 5, 2015 at 9:16 pm

Hi Tim,

Thanks for the help, I realized that when we use -Once we don't have to explicitly mention -Daily. -Once every "HOURS" indefinitely will do the job.

Thanks again 🙂