Monday, December 10, 2007

Reschedule or Change the interval of a SharePoint custom Timer Job

To reschedule or change the interval of a SharePoint custom Timer Job
  1. Change the schedule interval in the custom code using the SPDailySchedule class of the SharePoint object model

  2. Build and deploy in the GAC.

  3. IISRESET

  4. Go to the command prompt and navigate to the 12 hive of SharePoint

  5. Uninstall the existing Timer feature, for example, stsadm.exe –o uninstallfeature –filename yourfeaturename\feature.xml

  6. Install the new Timer feature, for example, stsadm.exe –o installfeature –filename yourfeaturename\feature.xml

  7. Go to the windows services and restart the Windows SharePoint Services Timer

Monday, December 10, 2007

Reschedule or Change the interval of a SharePoint custom Timer Job

To reschedule or change the interval of a SharePoint custom Timer Job
  1. Change the schedule interval in the custom code using the SPDailySchedule class of the SharePoint object model

  2. Build and deploy in the GAC.

  3. IISRESET

  4. Go to the command prompt and navigate to the 12 hive of SharePoint

  5. Uninstall the existing Timer feature, for example, stsadm.exe –o uninstallfeature –filename yourfeaturename\feature.xml

  6. Install the new Timer feature, for example, stsadm.exe –o installfeature –filename yourfeaturename\feature.xml

  7. Go to the windows services and restart the Windows SharePoint Services Timer