<?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: Django cron on Webfaction</title>
	<atom:link href="http://www.nerdydork.com/django-cron-on-webfaction.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.nerdydork.com/django-cron-on-webfaction.html</link>
	<description>Dustin Davis reviews... the internet.</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:23:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark</title>
		<link>http://www.nerdydork.com/django-cron-on-webfaction.html/comment-page-1#comment-6878</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 14 May 2010 07:24:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/django-cron-on-webfaction.html#comment-6878</guid>
		<description>Custom Commands also have an advantage... they fit in your application directory structure. Why is that an Advantage, they will be packaged up nicely... and easy to find, also you have help property to report usage.

so later down the line...

./manage.py help 

will show you your custom command.</description>
		<content:encoded><![CDATA[<p>Custom Commands also have an advantage&#8230; they fit in your application directory structure. Why is that an Advantage, they will be packaged up nicely&#8230; and easy to find, also you have help property to report usage.</p>
<p>so later down the line&#8230;</p>
<p>./manage.py help </p>
<p>will show you your custom command.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter@Home Computers</title>
		<link>http://www.nerdydork.com/django-cron-on-webfaction.html/comment-page-1#comment-6522</link>
		<dc:creator>Peter@Home Computers</dc:creator>
		<pubDate>Mon, 11 Jan 2010 16:43:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/django-cron-on-webfaction.html#comment-6522</guid>
		<description>Using custom commands with Django helped me in many issues. It&#039;s really like that hammer and nails allegory.</description>
		<content:encoded><![CDATA[<p>Using custom commands with Django helped me in many issues. It&#8217;s really like that hammer and nails allegory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Verkaufswagen</title>
		<link>http://www.nerdydork.com/django-cron-on-webfaction.html/comment-page-1#comment-6484</link>
		<dc:creator>Verkaufswagen</dc:creator>
		<pubDate>Tue, 05 Jan 2010 20:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/django-cron-on-webfaction.html#comment-6484</guid>
		<description>Be aware that the article dates back from 2007, lots of django versions in the past.</description>
		<content:encoded><![CDATA[<p>Be aware that the article dates back from 2007, lots of django versions in the past.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Urlaub Sardinien</title>
		<link>http://www.nerdydork.com/django-cron-on-webfaction.html/comment-page-1#comment-5566</link>
		<dc:creator>Urlaub Sardinien</dc:creator>
		<pubDate>Sat, 08 Aug 2009 06:44:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/django-cron-on-webfaction.html#comment-5566</guid>
		<description>I also had problem with Django before but the custom commands helps me better, like what &quot;No&quot; said, for me it is more efficient and easy to understand.</description>
		<content:encoded><![CDATA[<p>I also had problem with Django before but the custom commands helps me better, like what &#8220;No&#8221; said, for me it is more efficient and easy to understand.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jj</title>
		<link>http://www.nerdydork.com/django-cron-on-webfaction.html/comment-page-1#comment-5530</link>
		<dc:creator>Jj</dc:creator>
		<pubDate>Sat, 01 Aug 2009 23:16:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/django-cron-on-webfaction.html#comment-5530</guid>
		<description>+1 for django-command-extensions.

Be aware that the article dates back from 2007, lots of django versions in the past.</description>
		<content:encoded><![CDATA[<p>+1 for django-command-extensions.</p>
<p>Be aware that the article dates back from 2007, lots of django versions in the past.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pytechd</title>
		<link>http://www.nerdydork.com/django-cron-on-webfaction.html/comment-page-1#comment-5528</link>
		<dc:creator>pytechd</dc:creator>
		<pubDate>Sat, 01 Aug 2009 19:12:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/django-cron-on-webfaction.html#comment-5528</guid>
		<description>The article from James was written prior to custom manage.py commands; as was the &quot;runscript&quot; patch.</description>
		<content:encoded><![CDATA[<p>The article from James was written prior to custom manage.py commands; as was the &#8220;runscript&#8221; patch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: No'</title>
		<link>http://www.nerdydork.com/django-cron-on-webfaction.html/comment-page-1#comment-5526</link>
		<dc:creator>No'</dc:creator>
		<pubDate>Sat, 01 Aug 2009 09:27:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/django-cron-on-webfaction.html#comment-5526</guid>
		<description>oh, and I must add... when you start using custom commands, it looks like a hammer, and every problem looks like a nail. ;op</description>
		<content:encoded><![CDATA[<p>oh, and I must add&#8230; when you start using custom commands, it looks like a hammer, and every problem looks like a nail. ;op</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: No'</title>
		<link>http://www.nerdydork.com/django-cron-on-webfaction.html/comment-page-1#comment-5525</link>
		<dc:creator>No'</dc:creator>
		<pubDate>Sat, 01 Aug 2009 09:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/django-cron-on-webfaction.html#comment-5525</guid>
		<description>&gt; How do you mean a *lot* more efficient? Does it run faster or less memory, or just more convenient/standardized?

a - your sys.path + os.environ changes are a very ugly hack. yes, it works, but it&#039;s quite un-pythonic.

b - this hack is not portable. if you want to run the same job in 2 different projects, you&#039;ll have to edit the sys.path items. And if you improve your source script, you&#039;ll see it&#039;s pretty painful to keep all your copies up to date.

c - custom commands are classes. And as every python class, you can import / extend / inherit them. I don&#039;t want to argue, but Object-oriented is far better from a programmer perspective. less code, more leverage.

d - these classes have helpers to add options, and extra-arguments. say you want to make a daily, weekly, monthly backup of your database via a cron. Will you write 3 different scripts? no, you&#039;ll build one with the appropriate argument. And you won&#039;t have to reinvent the argument parsing, etc. it&#039;s all done very easily.</description>
		<content:encoded><![CDATA[<p>&gt; How do you mean a *lot* more efficient? Does it run faster or less memory, or just more convenient/standardized?</p>
<p>a &#8211; your sys.path + os.environ changes are a very ugly hack. yes, it works, but it&#8217;s quite un-pythonic.</p>
<p>b &#8211; this hack is not portable. if you want to run the same job in 2 different projects, you&#8217;ll have to edit the sys.path items. And if you improve your source script, you&#8217;ll see it&#8217;s pretty painful to keep all your copies up to date.</p>
<p>c &#8211; custom commands are classes. And as every python class, you can import / extend / inherit them. I don&#8217;t want to argue, but Object-oriented is far better from a programmer perspective. less code, more leverage.</p>
<p>d &#8211; these classes have helpers to add options, and extra-arguments. say you want to make a daily, weekly, monthly backup of your database via a cron. Will you write 3 different scripts? no, you&#8217;ll build one with the appropriate argument. And you won&#8217;t have to reinvent the argument parsing, etc. it&#8217;s all done very easily.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kamu</title>
		<link>http://www.nerdydork.com/django-cron-on-webfaction.html/comment-page-1#comment-5523</link>
		<dc:creator>Kamu</dc:creator>
		<pubDate>Sat, 01 Aug 2009 03:44:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/django-cron-on-webfaction.html#comment-5523</guid>
		<description>Hullo!

I wonder if you have found this already? http://code.google.com/p/django-command-extensions/

The commands of interest to you in this context would be &#039;runscript&#039; and the &#039;runjobs&#039; (which is designed to be used with cron as seen in http://code.google.com/p/django-command-extensions/wiki/JobsScheduling )

I hope this is of some help.

Kamu</description>
		<content:encoded><![CDATA[<p>Hullo!</p>
<p>I wonder if you have found this already? <a href="http://code.google.com/p/django-command-extensions/" rel="nofollow">http://code.google.com/p/django-command-extensions/</a></p>
<p>The commands of interest to you in this context would be &#8216;runscript&#8217; and the &#8216;runjobs&#8217; (which is designed to be used with cron as seen in <a href="http://code.google.com/p/django-command-extensions/wiki/JobsScheduling" rel="nofollow">http://code.google.com/p/django-command-extensions/wiki/JobsScheduling</a> )</p>
<p>I hope this is of some help.</p>
<p>Kamu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dustin</title>
		<link>http://www.nerdydork.com/django-cron-on-webfaction.html/comment-page-1#comment-5522</link>
		<dc:creator>Dustin</dc:creator>
		<pubDate>Fri, 31 Jul 2009 20:19:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/django-cron-on-webfaction.html#comment-5522</guid>
		<description>No&#039;: Thanks for the tip. I wasn&#039;t aware of custom commands. How do you mean a *lot* more efficient? Does it run faster or less memory, or just more convenient/standardized?</description>
		<content:encoded><![CDATA[<p>No&#8217;: Thanks for the tip. I wasn&#8217;t aware of custom commands. How do you mean a *lot* more efficient? Does it run faster or less memory, or just more convenient/standardized?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  www.nerdydork.com/django-cron-on-webfaction.html/feed ) in 0.17674 seconds, on Feb 9th, 2012 at 2:18 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 9th, 2012 at 3:18 am UTC -->
