Reseting a timerjob's schedule using STSADM.exe
Hi, I have created a timerjob and deployed it. I can see it the central administration as well. It is running fine. Now I want to change the schedule of this job from minutes to weekly. I tried doing the following: stsadm -o setcontentdeploymentjobschedule -jobname "PMReporter" -schedule "Weekly between Fri 22:00:00 and Sun 06:00:00" but it gives me this error: Error: The specified index value for this collection could not be found or is not unique. Parameter name: jobName I also tried using the job title as the job name in the above syntax but it still gives the same error. Has anyone tried using this stsadm util before? How can I reset the schedule from commandline? Thanks, Malhar
January 1st, 2010 9:07pm

Does your comamnd look like this? stsadm -o setcontentdeploymentjobschedule -jobname PMReporter -schedule "weekly between Fri 22:00:00 and Sun 06:00:00" Take the quotes out of the PMReport name and try again if that's the syntax you using.Thanks Kris WagnerKris Wagner, MCITP, MCTS Twitter @sharepointkris Blog: http://www.sharepointkris.com/blog
Free Windows Admin Tool Kit Click here and download it now
January 1st, 2010 10:22pm

I tried removing the quotes as well. But still no luck... How can I find out the job id for my timerjob ?
January 1st, 2010 10:28pm

To find the TimerJob ID use the following steps Go to Central Administration, find you job and hover mouse over the job name Copy timer's shortcut and insert it into notepad (you get something like http://myserver:25435/_admin/JobEdit.aspx?JobId=bf166029%2D7c99%2D49cc%2D9ade%2D) Replace "%2D" on dash sign ("-") in JobID. SharePoint 2007 -2010 Tips & Tricks Portal | Microsoft MVP | My Blog about Information Management | My twitter
Free Windows Admin Tool Kit Click here and download it now
January 2nd, 2010 5:54am

Hi,i also tried the stsadm command, Malhar posted before. In my case the same error occured. So I tried to replace the jobname with the jobid, Michael mentioned in his post.But still no luck...How is this command working?Thanks,Evelyn
February 25th, 2010 12:52pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics