How to deploy a job on sharepoint

1.进入sharePoint Central administrator v3 管理页面,选择Operation下的Solution Management

2.检索your_wsp_ file.wsp

3. 点击进入后 按 Restract Solution回收 不同选择回收站点

4.检索your_wsp_ file.wsp 进入

5. Command stsadm -o execadmsvcjobs

6. 点击回收remove Solution
如果不能进行remove 执行以下操作
a. Command stsadm -o enumdeployments 查找某your_wsp_ file.wsp 的id(guid)
b.Command stsadm -o canceldeployments "Guid"

7.Command stsadm -o addsolution -filename "your_wsp_ file.wsp" 添加solution

8 stsadm -o deactivatefeature -name your_feature_Job_name -url http://dvl-inforest.jnj.com/
stsadm -o execadmsvcjobs
9 stsadm -o activatefeature -name your_feature_Job_name  -url http://dvl-inforest.jnj.com/
stsadm -o execadmsvcjobs

posted @ 2011-06-15 17:41  withsoso  阅读(240)  评论(0编辑  收藏  举报