<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: 自己动手写 WordPress 插件：使用 WP-Cron</title>
	<atom:link href="http://fairyfish.net/2007/11/26/write-plugin-by-yourself-cron/feed/" rel="self" type="application/rss+xml" />
	<link>http://fairyfish.net/2007/11/26/write-plugin-by-yourself-cron/</link>
	<description>关注 WordPress，关注互联网</description>
	<lastBuildDate>Sat, 11 Feb 2012 19:42:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: 王强</title>
		<link>http://fairyfish.net/2007/11/26/write-plugin-by-yourself-cron/comment-page-1/#comment-48234</link>
		<dc:creator>王强</dc:creator>
		<pubDate>Fri, 15 Apr 2011 01:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/11/26/write-plugin-by-yourself-widget-corn/#comment-48234</guid>
		<description>问下，wp_schedule_event的第二个参数中是以间隔多长时间来执行这个schedule的。
如果想实现在每个月的同一天来执行schedule，这样中间的间隔时间就是变化的。
当然可以自定义一个时间间隔，比如
return array(
	&#039;monthly&#039; =&gt; array(&#039;interval&#039; =&gt; 900, &#039;display&#039; =&gt; &#039;5 minutes&#039;)
);
但这时interval每次就是不同的值了，有什么其他办法么？</description>
		<content:encoded><![CDATA[<div id="description">
<p>问下，wp_schedule_event的第二个参数中是以间隔多长时间来执行这个schedule的。<br />
如果想实现在每个月的同一天来执行schedule，这样中间的间隔时间就是变化的。<br />
当然可以自定义一个时间间隔，比如<br />
return array(<br />
	&#8216;monthly&#8217; =&gt; array(&#8216;interval&#8217; =&gt; 900, &#8216;display&#8217; =&gt; &#8217;5 minutes&#8217;)<br />
);<br />
但这时interval每次就是不同的值了，有什么其他办法么？</p>
</div>
<p id="rating-48234"><span id="up-48234"  class="comment_rating_up" onclick="comment_rating('48234', 'up');">支持</span><small id="rating-48234-up"></small>&nbsp;<span id="down-48234"  class="comment_rating_down" onclick="comment_rating('48234', 'down');">反对</span><small id="rating-48234-down"></small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HK</title>
		<link>http://fairyfish.net/2007/11/26/write-plugin-by-yourself-cron/comment-page-1/#comment-34971</link>
		<dc:creator>HK</dc:creator>
		<pubDate>Fri, 07 Nov 2008 12:09:27 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/11/26/write-plugin-by-yourself-widget-corn/#comment-34971</guid>
		<description>什么时候我也来抢一个沙发坐坐</description>
		<content:encoded><![CDATA[<div id="description">
<p>什么时候我也来抢一个沙发坐坐</p>
</div>
<p id="rating-34971"><span id="up-34971"  class="comment_rating_up" onclick="comment_rating('34971', 'up');">支持</span><small id="rating-34971-up"></small>&nbsp;<span id="down-34971"  class="comment_rating_down" onclick="comment_rating('34971', 'down');">反对</span><small id="rating-34971-down"></small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denis</title>
		<link>http://fairyfish.net/2007/11/26/write-plugin-by-yourself-cron/comment-page-1/#comment-13672</link>
		<dc:creator>Denis</dc:creator>
		<pubDate>Mon, 26 Nov 2007 09:09:57 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/11/26/write-plugin-by-yourself-widget-corn/#comment-13672</guid>
		<description>@MO, 这个插件就是献给大猫和胡戈戈同学的！</description>
		<content:encoded><![CDATA[<div id="description">
<p>@MO, 这个插件就是献给大猫和胡戈戈同学的！</p>
</div>
<p id="rating-13672"><span id="up-13672"  class="comment_rating_up" onclick="comment_rating('13672', 'up');">支持</span><small id="rating-13672-up"></small>&nbsp;<span id="down-13672"  class="comment_rating_down" onclick="comment_rating('13672', 'down');">反对</span><small id="rating-13672-down"></small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MO</title>
		<link>http://fairyfish.net/2007/11/26/write-plugin-by-yourself-cron/comment-page-1/#comment-13666</link>
		<dc:creator>MO</dc:creator>
		<pubDate>Mon, 26 Nov 2007 07:54:43 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/11/26/write-plugin-by-yourself-widget-corn/#comment-13666</guid>
		<description>楼上两个真不是一般的沙发党啊</description>
		<content:encoded><![CDATA[<div id="description">
<p>楼上两个真不是一般的沙发党啊</p>
</div>
<p id="rating-13666"><span id="up-13666"  class="comment_rating_up" onclick="comment_rating('13666', 'up');">支持</span><small id="rating-13666-up"></small>&nbsp;<span id="down-13666"  class="comment_rating_down" onclick="comment_rating('13666', 'down');">反对</span><small id="rating-13666-down"></small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 大猫</title>
		<link>http://fairyfish.net/2007/11/26/write-plugin-by-yourself-cron/comment-page-1/#comment-13661</link>
		<dc:creator>大猫</dc:creator>
		<pubDate>Mon, 26 Nov 2007 05:18:57 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/11/26/write-plugin-by-yourself-widget-corn/#comment-13661</guid>
		<description>感觉一天一次频率都有点太高...会不会占用资源大了点呢?</description>
		<content:encoded><![CDATA[<div id="description">
<p>感觉一天一次频率都有点太高&#8230;会不会占用资源大了点呢?</p>
</div>
<p id="rating-13661"><span id="up-13661"  class="comment_rating_up" onclick="comment_rating('13661', 'up');">支持</span><small id="rating-13661-up"></small>&nbsp;<span id="down-13661"  class="comment_rating_down" onclick="comment_rating('13661', 'down');">反对</span><small id="rating-13661-down"></small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 胡戈戈</title>
		<link>http://fairyfish.net/2007/11/26/write-plugin-by-yourself-cron/comment-page-1/#comment-13660</link>
		<dc:creator>胡戈戈</dc:creator>
		<pubDate>Mon, 26 Nov 2007 05:17:05 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/11/26/write-plugin-by-yourself-widget-corn/#comment-13660</guid>
		<description>呵呵 ,不错哇</description>
		<content:encoded><![CDATA[<div id="description">
<p>呵呵 ,不错哇</p>
</div>
<p id="rating-13660"><span id="up-13660"  class="comment_rating_up" onclick="comment_rating('13660', 'up');">支持</span><small id="rating-13660-up"></small>&nbsp;<span id="down-13660"  class="comment_rating_down" onclick="comment_rating('13660', 'down');">反对</span><small id="rating-13660-down"></small></p>
]]></content:encoded>
	</item>
</channel>
</rss>

