<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for Utoxin's Random Insanity</title>
	
	<link>http://www.utoxin.name</link>
	<description>Random ramblings from the depths of my mind...</description>
	<lastBuildDate>Wed, 03 Mar 2010 17:18:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/CommentsForUtoxinsRandomInsanity" /><feedburner:info uri="commentsforutoxinsrandominsanity" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on CakePHP Shells, and Cron Jobs by Frederick D.</title>
		<link>http://feedproxy.google.com/~r/CommentsForUtoxinsRandomInsanity/~3/R2PFW8r1G2g/</link>
		<dc:creator>Frederick D.</dc:creator>
		<pubDate>Wed, 03 Mar 2010 17:18:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.utoxin.name/?p=91#comment-178</guid>
		<description>Sure! Here it is:

http://bin.cakephp.org/view/608307067

The code for the actions 'lof' and 'sendMail' also exist in my controller. I was testing via a URL to debug the database fetch and sending of the message. It works there very well. I am trying to automate the process and would then take the code out of the controller.

Hopefully it is not too fouled up. Thank you for taking a look! If you want, you may e-mail me directly if this clogging up your blog entry too much. Thank you!</description>
		<content:encoded><![CDATA[<p>Sure! Here it is:</p>
<p><a href="http://bin.cakephp.org/view/608307067" rel="nofollow">http://bin.cakephp.org/view/608307067</a></p>
<p>The code for the actions &#8216;lof&#8217; and &#8217;sendMail&#8217; also exist in my controller. I was testing via a URL to debug the database fetch and sending of the message. It works there very well. I am trying to automate the process and would then take the code out of the controller.</p>
<p>Hopefully it is not too fouled up. Thank you for taking a look! If you want, you may e-mail me directly if this clogging up your blog entry too much. Thank you!</p>
<img src="http://feeds.feedburner.com/~r/CommentsForUtoxinsRandomInsanity/~4/R2PFW8r1G2g" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.utoxin.name/2009/07/cakephp-shells-and-cron-jobs/comment-page-1/#comment-178</feedburner:origLink></item>
	<item>
		<title>Comment on CakePHP Shells, and Cron Jobs by Utoxin</title>
		<link>http://feedproxy.google.com/~r/CommentsForUtoxinsRandomInsanity/~3/HvBZWSOhu90/</link>
		<dc:creator>Utoxin</dc:creator>
		<pubDate>Wed, 03 Mar 2010 17:05:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.utoxin.name/?p=91#comment-177</guid>
		<description>That error tells me that there's something wrong with the class definition of the shell. Mind putting it up in a pastebin?</description>
		<content:encoded><![CDATA[<p>That error tells me that there&#8217;s something wrong with the class definition of the shell. Mind putting it up in a pastebin?</p>
<img src="http://feeds.feedburner.com/~r/CommentsForUtoxinsRandomInsanity/~4/HvBZWSOhu90" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.utoxin.name/2009/07/cakephp-shells-and-cron-jobs/comment-page-1/#comment-177</feedburner:origLink></item>
	<item>
		<title>Comment on CakePHP Shells, and Cron Jobs by Frederick D.</title>
		<link>http://feedproxy.google.com/~r/CommentsForUtoxinsRandomInsanity/~3/38Lg02v3vW4/</link>
		<dc:creator>Frederick D.</dc:creator>
		<pubDate>Wed, 03 Mar 2010 17:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.utoxin.name/?p=91#comment-176</guid>
		<description>Incremental progress...

I ran this command from Terminal using your input above:

/home/myusername/myproject.mydomain.com/cake/console/cake reminders lof -app /home/myusername/myproject.mydomain.com/app

The entire contents of the shell were displayed on the terminal console screen and then this:

Error: Class RemindersShell could not be loaded[monrovia]$

Monrovia is the name of the server I am assigned to on Dreamhost. Hmmm... Is this a symptom of not having cake in the path for my user id? My user id has shell access with a shell type of /bin/bash, whatever that means.

I very much appreciate your help!</description>
		<content:encoded><![CDATA[<p>Incremental progress&#8230;</p>
<p>I ran this command from Terminal using your input above:</p>
<p>/home/myusername/myproject.mydomain.com/cake/console/cake reminders lof -app /home/myusername/myproject.mydomain.com/app</p>
<p>The entire contents of the shell were displayed on the terminal console screen and then this:</p>
<p>Error: Class RemindersShell could not be loaded[monrovia]$</p>
<p>Monrovia is the name of the server I am assigned to on Dreamhost. Hmmm&#8230; Is this a symptom of not having cake in the path for my user id? My user id has shell access with a shell type of /bin/bash, whatever that means.</p>
<p>I very much appreciate your help!</p>
<img src="http://feeds.feedburner.com/~r/CommentsForUtoxinsRandomInsanity/~4/38Lg02v3vW4" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.utoxin.name/2009/07/cakephp-shells-and-cron-jobs/comment-page-1/#comment-176</feedburner:origLink></item>
	<item>
		<title>Comment on CakePHP Shells, and Cron Jobs by Utoxin</title>
		<link>http://feedproxy.google.com/~r/CommentsForUtoxinsRandomInsanity/~3/hEoqw1LDtRc/</link>
		<dc:creator>Utoxin</dc:creator>
		<pubDate>Wed, 03 Mar 2010 16:45:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.utoxin.name/?p=91#comment-175</guid>
		<description>Sorry I didn't catch it the first time. The first path needs to be the path that leads to cake_core/console/cake.

In your case, that would appear to be:

/home/myusername/myproject.mydomain.com/cake/console/cake

Let me know if that helps.

Also, the second path should include your app directory.</description>
		<content:encoded><![CDATA[<p>Sorry I didn&#8217;t catch it the first time. The first path needs to be the path that leads to cake_core/console/cake.</p>
<p>In your case, that would appear to be:</p>
<p>/home/myusername/myproject.mydomain.com/cake/console/cake</p>
<p>Let me know if that helps.</p>
<p>Also, the second path should include your app directory.</p>
<img src="http://feeds.feedburner.com/~r/CommentsForUtoxinsRandomInsanity/~4/hEoqw1LDtRc" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.utoxin.name/2009/07/cakephp-shells-and-cron-jobs/comment-page-1/#comment-175</feedburner:origLink></item>
	<item>
		<title>Comment on CakePHP Shells, and Cron Jobs by Frederick D.</title>
		<link>http://feedproxy.google.com/~r/CommentsForUtoxinsRandomInsanity/~3/hmCKae-tYwA/</link>
		<dc:creator>Frederick D.</dc:creator>
		<pubDate>Wed, 03 Mar 2010 16:13:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.utoxin.name/?p=91#comment-174</guid>
		<description>Getting closer!

I was able to do as you suggested. I didn't know I could log in via Terminal (OS X) to Dreamhost. My revised cron job command looks like this now:

/home/myusername/myproject.mydomain.com/vendors/shells reminders lof -app /home/myusername/myproject.mydomain.com

Dreamhost is sending me a message that ../vendors/shells "is a directory", but the shell does not appear to be running.

When I run the command from the command line in Terminal I get the same message: "is a directory".

Again suggestions ObiWan?</description>
		<content:encoded><![CDATA[<p>Getting closer!</p>
<p>I was able to do as you suggested. I didn&#8217;t know I could log in via Terminal (OS X) to Dreamhost. My revised cron job command looks like this now:</p>
<p>/home/myusername/myproject.mydomain.com/vendors/shells reminders lof -app /home/myusername/myproject.mydomain.com</p>
<p>Dreamhost is sending me a message that ../vendors/shells &#8220;is a directory&#8221;, but the shell does not appear to be running.</p>
<p>When I run the command from the command line in Terminal I get the same message: &#8220;is a directory&#8221;.</p>
<p>Again suggestions ObiWan?</p>
<img src="http://feeds.feedburner.com/~r/CommentsForUtoxinsRandomInsanity/~4/hmCKae-tYwA" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.utoxin.name/2009/07/cakephp-shells-and-cron-jobs/comment-page-1/#comment-174</feedburner:origLink></item>
</channel>
</rss>
