<?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: How to setup a Cron Job</title>
	<atom:link href="http://wpguru.co.uk/2009/02/how-to-setup-a-cron-job/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpguru.co.uk/2009/02/how-to-setup-a-cron-job/</link>
	<description>Dedicated Wordpress Hosting and Support</description>
	<lastBuildDate>Tue, 31 Jan 2012 09:43:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jay Versluis</title>
		<link>http://wpguru.co.uk/2009/02/how-to-setup-a-cron-job/comment-page-1/#comment-2453</link>
		<dc:creator>Jay Versluis</dc:creator>
		<pubDate>Tue, 31 Jan 2012 09:43:10 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress-guru.co.uk/?p=62#comment-2453</guid>
		<description>Hi Roy, 

WordPress has a built-in cron function which plugin developers can use. This however relies on somebody visiting your site regularly so it can appear to be unreliable. They do a good job for internal functions, but you can&#039;t easily trigger a script without writing a plugin.

Plesk calls Cron Jobs &quot;Scheduled Tasks&quot;, you can find those under Tools and Settings (in Hosting Provider View) or under Websites and Domains - Advanced (in Power User View).</description>
		<content:encoded><![CDATA[<p>Hi Roy, </p>
<p>WordPress has a built-in cron function which plugin developers can use. This however relies on somebody visiting your site regularly so it can appear to be unreliable. They do a good job for internal functions, but you can&#8217;t easily trigger a script without writing a plugin.</p>
<p>Plesk calls Cron Jobs &#8220;Scheduled Tasks&#8221;, you can find those under Tools and Settings (in Hosting Provider View) or under Websites and Domains &#8211; Advanced (in Power User View).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roy M J</title>
		<link>http://wpguru.co.uk/2009/02/how-to-setup-a-cron-job/comment-page-1/#comment-2451</link>
		<dc:creator>Roy M J</dc:creator>
		<pubDate>Tue, 31 Jan 2012 07:37:45 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress-guru.co.uk/?p=62#comment-2451</guid>
		<description>Hi,

   I am using a plesk panel with godaddy and i cannot find how to set up a cron job. What i would like to know is whether wordpress has any plugins or set-up a cron job.

Many thanks

Roy M J</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>   I am using a plesk panel with godaddy and i cannot find how to set up a cron job. What i would like to know is whether wordpress has any plugins or set-up a cron job.</p>
<p>Many thanks</p>
<p>Roy M J</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Versluis</title>
		<link>http://wpguru.co.uk/2009/02/how-to-setup-a-cron-job/comment-page-1/#comment-2288</link>
		<dc:creator>Jay Versluis</dc:creator>
		<pubDate>Tue, 13 Dec 2011 16:35:38 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress-guru.co.uk/?p=62#comment-2288</guid>
		<description>Super, thanks for sharing Sandy!</description>
		<content:encoded><![CDATA[<p>Super, thanks for sharing Sandy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandy Nerja</title>
		<link>http://wpguru.co.uk/2009/02/how-to-setup-a-cron-job/comment-page-1/#comment-2277</link>
		<dc:creator>Sandy Nerja</dc:creator>
		<pubDate>Tue, 06 Dec 2011 17:45:58 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress-guru.co.uk/?p=62#comment-2277</guid>
		<description>My website takes xml feeds from local estate agents, and imports their properties to display on my holiday accommodation website.  The whole thing is written in wordpress, and up to now I have been manually triggering the script that imports the rental properties from the agents sites.

Finally I have got round to automating the process and the missing link was the wp-load.php.  Use it like this at the start of your script:

require( &#039;wp-load.php&#039; );

This assumes your script is in the same folder as wp-load and from then on your script acts like it has been called from Wordpress.

I hope this is useful to someone else.</description>
		<content:encoded><![CDATA[<p>My website takes xml feeds from local estate agents, and imports their properties to display on my holiday accommodation website.  The whole thing is written in wordpress, and up to now I have been manually triggering the script that imports the rental properties from the agents sites.</p>
<p>Finally I have got round to automating the process and the missing link was the wp-load.php.  Use it like this at the start of your script:</p>
<p>require( &#8216;wp-load.php&#8217; );</p>
<p>This assumes your script is in the same folder as wp-load and from then on your script acts like it has been called from WordPress.</p>
<p>I hope this is useful to someone else.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Versluis</title>
		<link>http://wpguru.co.uk/2009/02/how-to-setup-a-cron-job/comment-page-1/#comment-2250</link>
		<dc:creator>Jay Versluis</dc:creator>
		<pubDate>Thu, 17 Nov 2011 14:33:26 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress-guru.co.uk/?p=62#comment-2250</guid>
		<description>Hmmm... good question. Since this is a public file it needs to be triggered via http. However, if you move the wimpq-cronpost.php file to somewhere above public level you should be able to trigger it via PHP from the command line queue for example - but I don&#039;t know what the implications of the PhotoQ Plugin will be. I believe the developer said it needs to be in the root folder.

I suppose it doesn&#039;t really matter if you (or someone else) triggers the file more often than it needs to be called since the actual time in between automatic posts is determined via the Plugin Settings. Say you call this file every 5 minutes, but you setup PhotoQ to only post a new picture once every hour, then it will only post it once every hour.</description>
		<content:encoded><![CDATA[<p>Hmmm&#8230; good question. Since this is a public file it needs to be triggered via http. However, if you move the wimpq-cronpost.php file to somewhere above public level you should be able to trigger it via PHP from the command line queue for example &#8211; but I don&#8217;t know what the implications of the PhotoQ Plugin will be. I believe the developer said it needs to be in the root folder.</p>
<p>I suppose it doesn&#8217;t really matter if you (or someone else) triggers the file more often than it needs to be called since the actual time in between automatic posts is determined via the Plugin Settings. Say you call this file every 5 minutes, but you setup PhotoQ to only post a new picture once every hour, then it will only post it once every hour.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonas</title>
		<link>http://wpguru.co.uk/2009/02/how-to-setup-a-cron-job/comment-page-1/#comment-2245</link>
		<dc:creator>Jonas</dc:creator>
		<pubDate>Thu, 10 Nov 2011 17:43:57 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress-guru.co.uk/?p=62#comment-2245</guid>
		<description>Thanks for the article! 

How do you prevent from someone triggering the cron job by just visiting http://www.yourdomain.com/wimpq-cronpost.php ? Is there a way to make sure only the server can trigger the task?</description>
		<content:encoded><![CDATA[<p>Thanks for the article! </p>
<p>How do you prevent from someone triggering the cron job by just visiting <a href="http://www.yourdomain.com/wimpq-cronpost.php" rel="nofollow">http://www.yourdomain.com/wimpq-cronpost.php</a> ? Is there a way to make sure only the server can trigger the task?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pranny</title>
		<link>http://wpguru.co.uk/2009/02/how-to-setup-a-cron-job/comment-page-1/#comment-2040</link>
		<dc:creator>Pranny</dc:creator>
		<pubDate>Mon, 08 Aug 2011 21:15:47 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress-guru.co.uk/?p=62#comment-2040</guid>
		<description>That&#039;s really helpful for me !</description>
		<content:encoded><![CDATA[<p>That&#8217;s really helpful for me !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Versluis</title>
		<link>http://wpguru.co.uk/2009/02/how-to-setup-a-cron-job/comment-page-1/#comment-1371</link>
		<dc:creator>Jay Versluis</dc:creator>
		<pubDate>Mon, 14 Feb 2011 16:46:47 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress-guru.co.uk/?p=62#comment-1371</guid>
		<description>Hi Brian,

I&#039;m very sorry you didn&#039;t find the info useful - and reading back over the article I can understand why: the title is indeed misleading. I have changed it to &quot;How to setup a cron job&quot; because that&#039;s what it&#039;s about - nothing to do with Wordpress.

Thanks for contributing the wp-load.php tip - I&#039;ll check it out!</description>
		<content:encoded><![CDATA[<p>Hi Brian,</p>
<p>I&#8217;m very sorry you didn&#8217;t find the info useful &#8211; and reading back over the article I can understand why: the title is indeed misleading. I have changed it to &#8220;How to setup a cron job&#8221; because that&#8217;s what it&#8217;s about &#8211; nothing to do with WordPress.</p>
<p>Thanks for contributing the wp-load.php tip &#8211; I&#8217;ll check it out!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://wpguru.co.uk/2009/02/how-to-setup-a-cron-job/comment-page-1/#comment-1369</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Mon, 14 Feb 2011 16:05:02 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress-guru.co.uk/?p=62#comment-1369</guid>
		<description>This post was not very helpful. The title is &quot;How to setup  a Cron Job *in Wordpress*&quot;. This does not seem to be any different than setting up a cron for any other PHP script, other than you&#039;re using wget, rather than PHP directly. The title leads you to believe you explain how to setup your .php file to use pieces of WordPress and $wpdb, but your post contains no such information.

For anyone looking to do this, all you need to do is include the /wp-load.php file in your cron file and you will have you DB Config and WPDB Class.</description>
		<content:encoded><![CDATA[<p>This post was not very helpful. The title is &#8220;How to setup  a Cron Job *in WordPress*&#8221;. This does not seem to be any different than setting up a cron for any other PHP script, other than you&#8217;re using wget, rather than PHP directly. The title leads you to believe you explain how to setup your .php file to use pieces of WordPress and $wpdb, but your post contains no such information.</p>
<p>For anyone looking to do this, all you need to do is include the /wp-load.php file in your cron file and you will have you DB Config and WPDB Class.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

