Schedule your word automation timer job using powershell
Here is my scenario :
I had to run word automation service of sharepoint 2010 to convert my word document to pdf. There are lots of examples availabe to do so. But the timerjob runs every 15 min, which is a bit annoying. So i wanted to update the schedule of the timer job every minute.
Here is the solution :
I used power shell to do so
$job = Get-SPTimerJob | Where-Object {$_.Displayname -eq "Word Automation Services Timer Job"}
$NewSchedule = new-object Microsoft.SharePoint.SPMinuteSchedule
$NewSchedule.Interval = 1
$job.Schedule = $NewSchedule
$job.Update()
$NewSchedule = new-object Microsoft.SharePoint.SPMinuteSchedule
$NewSchedule.Interval = 1
$job.Schedule = $NewSchedule
$job.Update()
Hope it helps!
Comments