<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Connecting the dots... &#187; newsletter</title>
	<atom:link href="http://blog.rajatpandit.com/tag/newsletter/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rajatpandit.com</link>
	<description>Thoughts on Web Development, Scalability and Application Architecture</description>
	<lastBuildDate>Mon, 19 Jul 2010 12:46:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>symfony init-batch</title>
		<link>http://blog.rajatpandit.com/2008/07/13/symfony-init-batch/</link>
		<comments>http://blog.rajatpandit.com/2008/07/13/symfony-init-batch/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 09:13:18 +0000</pubDate>
		<dc:creator>rp</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[init-batch]]></category>
		<category><![CDATA[mailing list]]></category>
		<category><![CDATA[newsletter]]></category>

		<guid isPermaLink="false">http://blog.rajatpandit.com/?p=33</guid>
		<description><![CDATA[while building a newsletter app in symfony I had to write a batch process, unfortunately there isnt enough documentation for doing that on the symfony website. However I would just get the following error: unagi:htdocs rajatpandit$ symfony init-batch backend prod mailer [Exception] The specified batch &#34;backend&#34; does not exist. Digging in the code, I figured [...]]]></description>
			<content:encoded><![CDATA[<p>while building a newsletter app in symfony I had to write a batch process, unfortunately there isnt enough documentation for doing that on the <a href="http://www.symfony-project.org/book/1_0/06-Inside-the-Controller-Layer#Batch%20Files" target="_blank">symfony website</a>. However I would just get the following error:</p>
<pre class="brush: bash;">
unagi:htdocs rajatpandit$ symfony init-batch backend prod mailer
  [Exception]
  The specified batch &quot;backend&quot; does not exist.
</pre>
<p>Digging in the code, I figured out that the correct syntax is:</p>
<pre class="brush: bash;">
unagi:htdocs rajatpandit$ symfony init-batch default mailer backend
&gt;&gt; file+     /Users/rajatpandit/websites/edu/htdocs/batch/mailer.php
&gt;&gt; tokens    /Users/rajatpandit/websites/edu/htdocs/batch/mailer.php
</pre>
<p>where:</p>
<ul>
<li>default: Default skeleton for the batch script</li>
<li>mailer: Name of the batch script that you want to create</li>
<li>frontend: Name of the application under which you want to create the batch file.</li>
</ul>
<p>The newly created batch script is created under the folder <code>/batch</code> folder</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajatpandit.com/2008/07/13/symfony-init-batch/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
