1

I deleted the job-delete-timer-job-history accidentally and even the job definition wont show up now.

what is the easiest method to re create/undelete the job without any downtime.

Nicholas

1

This is farm scoped Timer job, so you need to run the below command in order to get deleted job back.

$farm = Get-SPFarm
$farm.TimerService.EnsureDefaultJobs()

But if you have the Web app target jobs then run the below one.

$w = Get-SPWebApplication https://mywebapplication
$w.EnsureDefaultJobs()
  • if thats work then please marked as answer for other benfits...:)\ – Waqas Sarwar MVP Jun 22 '15 at 13:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.