SharePoint定时器作业部署步骤

在网上查到不少,发现有些方法步骤多了点,经实验,不需要重启iis
1 第一次部署需要在features文件夹下建立feature.xml文件
2 把Assembly DLL放到 GAC
3 写一个bat文件,内容如下:
c:
cd C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\
stsadm -o deactivatefeature -filename SAPTimer\feature.xml -url http://localhost/
stsadm -o activatefeature -filename SAPTimer\feature.xml -url http://localhost/
net stop SPTimerV3
net start SPTimerV3
4 执行bat
5 如需调试Visual Studio: Attach to process: OWSTIMER.EXE
6 重新部署只需要执行2到4即可。
原文地址:https://www.cnblogs.com/Hary/p/1235386.html