惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
Help Net Security
Help Net Security
P
Privacy International News Feed
T
Threat Research - Cisco Blogs
C
Cisco Blogs
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
L
LINUX DO - 热门话题
Security Latest
Security Latest
A
Arctic Wolf
G
GRAHAM CLULEY
月光博客
月光博客
S
Securelist
D
Docker
J
Java Code Geeks
T
Troy Hunt's Blog
T
Tenable Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
SecWiki News
SecWiki News
S
Security @ Cisco Blogs
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
LINUX DO - 最新话题
Recent Commits to openclaw:main
Recent Commits to openclaw:main
aimingoo的专栏
aimingoo的专栏
博客园 - 【当耐特】
H
Heimdal Security Blog
The Hacker News
The Hacker News
博客园 - 三生石上(FineUI控件)
Application and Cybersecurity Blog
Application and Cybersecurity Blog
N
Netflix TechBlog - Medium
Vercel News
Vercel News
Forbes - Security
Forbes - Security
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
IT之家
IT之家
B
Blog
MongoDB | Blog
MongoDB | Blog
博客园 - 聂微东
Google DeepMind News
Google DeepMind News
S
Secure Thoughts
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Check Point Blog
云风的 BLOG
云风的 BLOG
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
The Blog of Author Tim Ferriss
L
Lohrmann on Cybersecurity
F
Full Disclosure
D
Darknet – Hacking Tools, Hacker News & Cyber Security
P
Proofpoint News Feed

博客园 - bluehat

如果你的sharepoint 2013很慢... 2011你教会我的那些事儿 【sharepoint】SPEventReceiverStatus.CancelWithRedirectUrl 出错的请看这里 SharePoint Server 2010 LDAP Form 验证最容易出错的几点 CRM 客户端 SharePoint 2010 中如何彻底删除用户 SharePoint 2007/2010 的"SPGridView "控件常见的两个问题 Sharepoint 2010 中配置同步连接报错. - bluehat Exchange 2007 内存使用问题 不是黄山,胜似黄山--端午节之旅 心情不错 纠结 炎炎夏日,无心... 我想做一个有故事的人 无意发现Win 7 的时钟小秘密 小兽... 游陈阁老故乡 I am lost [ZZ]5 Paths to Happiness
Sharepoint 2010 Timer Job 自定义开发的几个注意事项
bluehat · 2012-05-31 · via 博客园 - bluehat

1.怎么自定义开发一个Timer Job 可以参见 http://msdn.microsoft.com/en-us/library/ff798313.aspx 

2. SharePoint timer jobs 是运行在 OWSTIMER.exe 这个进程下的,所以Debug的话,需要attach到这个进程上去

3. ConfigurationManager.AppSettings读取的自然也是 OWSTIMER.exe的配置文件,在14\bin\OWSTIMER.EXE.config,追加<appSettings>这个标签就好

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <add key="ftpServerIP" value="192.168.164.134" />
    <add key="ftpUserID" value= "user" />
    <add key="ftpPassword" value= "password"/>
    <add key="localDestnDir" value="c:\test" />
   </appSettings>
  <runtime>
  </runtime>
</configuration>

4. 每次改动代码,部署可能不能及时生效,需要重启 SharePoint 2010 Timer 这个服务,然后在IISRESET