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
There is no parameter set which allows this, since a job scheduled to occur daily is effectively a repetition interval of 24 hours.
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 🙂
You must be logged in to reply to this topic.