<?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: CakePHP Crontab</title>
	<atom:link href="http://www.lost-in-code.com/programming/php-code/cakephp-crontab/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lost-in-code.com/programming/php-code/cakephp-crontab/</link>
	<description>Web Development Resources</description>
	<lastBuildDate>Mon, 30 Jan 2012 10:42:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Chris</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-crontab/comment-page-1/#comment-8765</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sat, 19 Nov 2011 07:55:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/28/cakephp-crontab/#comment-8765</guid>
		<description>Great Article! This really cleared it up for me. This is good for Cake 1.3 . Older versions I think use a much different index.php file</description>
		<content:encoded><![CDATA[<p>Great Article! This really cleared it up for me. This is good for Cake 1.3 . Older versions I think use a much different index.php file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vibha</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-crontab/comment-page-1/#comment-8730</link>
		<dc:creator>Vibha</dc:creator>
		<pubDate>Mon, 17 Oct 2011 12:59:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/28/cakephp-crontab/#comment-8730</guid>
		<description>Thanx for your code...Its helpful...</description>
		<content:encoded><![CDATA[<p>Thanx for your code&#8230;Its helpful&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vibha</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-crontab/comment-page-1/#comment-8729</link>
		<dc:creator>Vibha</dc:creator>
		<pubDate>Mon, 17 Oct 2011 12:56:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/28/cakephp-crontab/#comment-8729</guid>
		<description>Hi, sorry for an inconvenience, I was setting path for php folder instead of php bin...</description>
		<content:encoded><![CDATA[<p>Hi, sorry for an inconvenience, I was setting path for php folder instead of php bin&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vibha</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-crontab/comment-page-1/#comment-8727</link>
		<dc:creator>Vibha</dc:creator>
		<pubDate>Mon, 17 Oct 2011 10:34:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/28/cakephp-crontab/#comment-8727</guid>
		<description>Hi,  I&#039;hv folloed your script

and I am setting my cronjob as
*/5	*	*	*	*	/usr/local/lib/php /home/../cron_dispatcher.php /devices/checkForAlert

whereas in checkForAlert function of devices controller i&#039;ve just printed &#039;hi&#039; but mail from cronjob only consists of /bin/sh: /usr/local/lib/php: is a directory

Can you please tell me that is going wrong here...</description>
		<content:encoded><![CDATA[<p>Hi,  I&#8217;hv folloed your script</p>
<p>and I am setting my cronjob as<br />
*/5	*	*	*	*	/usr/local/lib/php /home/../cron_dispatcher.php /devices/checkForAlert</p>
<p>whereas in checkForAlert function of devices controller i&#8217;ve just printed &#8216;hi&#8217; but mail from cronjob only consists of /bin/sh: /usr/local/lib/php: is a directory</p>
<p>Can you please tell me that is going wrong here&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-crontab/comment-page-1/#comment-7706</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Sun, 17 Jul 2011 12:49:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/28/cakephp-crontab/#comment-7706</guid>
		<description>@sergey:
use 
http://book.cakephp.org/view/1110/Running-Shells-as-cronjobs
this is a good and working documentation for cake1.2/cake1.3</description>
		<content:encoded><![CDATA[<p>@sergey:<br />
use<br />
<a href="http://book.cakephp.org/view/1110/Running-Shells-as-cronjobs" rel="nofollow">http://book.cakephp.org/view/1110/Running-Shells-as-cronjobs</a><br />
this is a good and working documentation for cake1.2/cake1.3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deepak</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-crontab/comment-page-1/#comment-7594</link>
		<dc:creator>deepak</dc:creator>
		<pubDate>Thu, 30 Jun 2011 07:11:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/28/cakephp-crontab/#comment-7594</guid>
		<description>Hi dear,

thanks for posting this...but when i m implementing it and run it in my localhost  at command line
app/webroot/cron_dispatcher.php /crons/users/
so it is always returing the error
config - CORE/cake/basics.php, line 61
require - CORE/cake/libs/model/connection_manager.php, line 27
App::__load() - CORE/cake/libs/configure.php, line 962
App::__find() - CORE/cake/libs/configure.php, line 939
App::import() - CORE/cake/libs/configure.php, line 866
App::import() - CORE/cake/libs/configure.php, line 808
require - CORE/cake/libs/model/model.php, line 29
App::__load() - CORE/cake/libs/configure.php, line 962
App::__find() - CORE/cake/libs/configure.php, line 939
App::import() - CORE/cake/libs/configure.php, line 866
App::__settings() - CORE/cake/libs/configure.php, line 1047
App::import() - CORE/cake/libs/configure.php, line 824
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 138
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 509
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 463


Fatal error: Call to undefined function mysql_query() in /opt/lampp/htdocs/giftpipe/cake/libs/model/datasources/dbo/dbo_mysql.php on line 499</description>
		<content:encoded><![CDATA[<p>Hi dear,</p>
<p>thanks for posting this&#8230;but when i m implementing it and run it in my localhost  at command line<br />
app/webroot/cron_dispatcher.php /crons/users/<br />
so it is always returing the error<br />
config &#8211; CORE/cake/basics.php, line 61<br />
require &#8211; CORE/cake/libs/model/connection_manager.php, line 27<br />
App::__load() &#8211; CORE/cake/libs/configure.php, line 962<br />
App::__find() &#8211; CORE/cake/libs/configure.php, line 939<br />
App::import() &#8211; CORE/cake/libs/configure.php, line 866<br />
App::import() &#8211; CORE/cake/libs/configure.php, line 808<br />
require &#8211; CORE/cake/libs/model/model.php, line 29<br />
App::__load() &#8211; CORE/cake/libs/configure.php, line 962<br />
App::__find() &#8211; CORE/cake/libs/configure.php, line 939<br />
App::import() &#8211; CORE/cake/libs/configure.php, line 866<br />
App::__settings() &#8211; CORE/cake/libs/configure.php, line 1047<br />
App::import() &#8211; CORE/cake/libs/configure.php, line 824<br />
ClassRegistry::init() &#8211; CORE/cake/libs/class_registry.php, line 138<br />
Controller::loadModel() &#8211; CORE/cake/libs/controller/controller.php, line 509<br />
Controller::constructClasses() &#8211; CORE/cake/libs/controller/controller.php, line 463</p>
<p>Fatal error: Call to undefined function mysql_query() in /opt/lampp/htdocs/giftpipe/cake/libs/model/datasources/dbo/dbo_mysql.php on line 499</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: An Unexpected Problem with CakePHP and Email Elements &#124; Tony Thomas</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-crontab/comment-page-1/#comment-7532</link>
		<dc:creator>An Unexpected Problem with CakePHP and Email Elements &#124; Tony Thomas</dc:creator>
		<pubDate>Sun, 24 Apr 2011 23:26:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/28/cakephp-crontab/#comment-7532</guid>
		<description>[...] PluginFor several months now I&#8217;ve been triggering functions in my CakePHP controllers using crontabs. It&#8217;s especially handy for summarizing data and sending out reports via email. I&#8217;m [...]</description>
		<content:encoded><![CDATA[<p>[...] PluginFor several months now I&#8217;ve been triggering functions in my CakePHP controllers using crontabs. It&#8217;s especially handy for summarizing data and sending out reports via email. I&#8217;m [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jordan</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-crontab/comment-page-1/#comment-7525</link>
		<dc:creator>Jordan</dc:creator>
		<pubDate>Sat, 16 Apr 2011 03:20:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/28/cakephp-crontab/#comment-7525</guid>
		<description>Works great, thanks a million!</description>
		<content:encoded><![CDATA[<p>Works great, thanks a million!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ritesh</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-crontab/comment-page-1/#comment-7454</link>
		<dc:creator>Ritesh</dc:creator>
		<pubDate>Wed, 02 Mar 2011 18:11:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/28/cakephp-crontab/#comment-7454</guid>
		<description>i need a quick solution. however does it work http://book.cakephp.org/view/108/The-CakePHP-Console ?</description>
		<content:encoded><![CDATA[<p>i need a quick solution. however does it work <a href="http://book.cakephp.org/view/108/The-CakePHP-Console" rel="nofollow">http://book.cakephp.org/view/108/The-CakePHP-Console</a> ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergey Lempert</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-crontab/comment-page-1/#comment-7328</link>
		<dc:creator>Sergey Lempert</dc:creator>
		<pubDate>Thu, 20 Jan 2011 18:03:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/28/cakephp-crontab/#comment-7328</guid>
		<description>Does not work for me. Lots of warnings.</description>
		<content:encoded><![CDATA[<p>Does not work for me. Lots of warnings.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

