<?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: Half Assed Cron With WP Cron</title>
	<atom:link href="http://blog.ericlamb.net/2010/02/half-assed-cron-with-wp-cron/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ericlamb.net/2010/02/half-assed-cron-with-wp-cron/</link>
	<description>Thoughts on programming, people and life</description>
	<lastBuildDate>Sat, 04 Feb 2012 09:01:37 -0800</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Sem</title>
		<link>http://blog.ericlamb.net/2010/02/half-assed-cron-with-wp-cron/comment-page-1/#comment-8205</link>
		<dc:creator>Sem</dc:creator>
		<pubDate>Thu, 19 Aug 2010 19:43:17 +0000</pubDate>
		<guid isPermaLink="false">http://dev.blog.ericlamb.net/?p=2941#comment-8205</guid>
		<description>Harper,

I am by no means a PHP champ but i would like to implement what you have proposed as i have a major increase in my processor/memory usage because of the wp_cron jobs.  Where do i need to place the code sample you posted, in wp_cron.php?  Thanks</description>
		<content:encoded><![CDATA[<p>Harper,</p>
<p>I am by no means a PHP champ but i would like to implement what you have proposed as i have a major increase in my processor/memory usage because of the wp_cron jobs.  Where do i need to place the code sample you posted, in wp_cron.php?  Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harper Shelby</title>
		<link>http://blog.ericlamb.net/2010/02/half-assed-cron-with-wp-cron/comment-page-1/#comment-7594</link>
		<dc:creator>Harper Shelby</dc:creator>
		<pubDate>Tue, 10 Aug 2010 15:49:04 +0000</pubDate>
		<guid isPermaLink="false">http://dev.blog.ericlamb.net/?p=2941#comment-7594</guid>
		<description>While I won&#039;t argue that wp-cron is highly advanced technology, it is possible to add your own cron intervals to the very limited selection. I&#039;ve used the following snippet:

add_filter(&#039;cron_schedules&#039;, array($this, &#039;add_five_minute_cron&#039;)); //I&#039;m doing this inside a class

//Add a 5 minute interval to the wp_cron options
function add_five_minute_cron(){
    return array(&#039;five_minute&#039; =&gt; array(&#039;interval&#039;=&gt;300, &#039;display&#039;=&gt;&#039;Every 5 minutes&#039;));
}</description>
		<content:encoded><![CDATA[<p>While I won&#8217;t argue that wp-cron is highly advanced technology, it is possible to add your own cron intervals to the very limited selection. I&#8217;ve used the following snippet:</p>
<p>add_filter(&#8216;cron_schedules&#8217;, array($this, &#8216;add_five_minute_cron&#8217;)); //I&#8217;m doing this inside a class</p>
<p>//Add a 5 minute interval to the wp_cron options<br />
function add_five_minute_cron(){<br />
    return array(&#8216;five_minute&#8217; =&gt; array(&#8216;interval&#8217;=&gt;300, &#8216;display&#8217;=&gt;&#8217;Every 5 minutes&#8217;));<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

