<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="https://blog.thetajoin.com"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ThetaJoin Blog</title>
 <link>https://blog.thetajoin.com</link>
 <description>Our passion is High Performance Drupal using the latest Free and Open Source software that Drupal demands.</description>
 <language>en</language>
<item>
 <title>Non-Drupal URIs and Lighttpd drupal.lua Script</title>
 <link>https://blog.thetajoin.com/content/non-drupal-uris-and-lighttpd-drupallua-script</link>
 <description>&lt;p&gt;I have a few other URLs that don&#039;t belong to Drupal. If these URLs are received on port 80, they get redirected to port 443 using mod_rewrite. The problem is drupal.lua script will cause non-Drupal URLs to simply get into a redirection loop. So, for example:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.example.org/nondrupalurl&quot; title=&quot;http://blog.example.org/nondrupalurl&quot;&gt;http://blog.example.org/nondrupalurl&lt;/a&gt; will send constant 301s back to the browser until it times out. What I had to do at the top of drupal.lua was this:&lt;/p&gt;
&lt;pre class=&quot;brush: php;fontsize: 100; first-line: 1; &quot;&gt;if lighty.env[&#039;uri.path&#039;]:match(&#039;nondrupalurl&#039;) then
--  print(&#039;URI Path Match &#039; .. lighty.env[&#039;uri.path&#039;])
  return
end&lt;/pre&gt;&lt;p&gt;
So far, this solution works but it&#039;s not very elegant, especially if there are a bunch of non-Drupal URLs. My site only has two, so it&#039;s not that big of a deal to hard code this into drupal.lua.&lt;/p&gt;
&lt;p&gt;The other thing I&#039;d like to know is how do you do your Lua dev?&lt;/p&gt;
</description>
 <comments>https://blog.thetajoin.com/content/non-drupal-uris-and-lighttpd-drupallua-script#comments</comments>
 <category domain="https://blog.thetajoin.com/category/blogtags/performance-lighttpd-lua-boostmodule">performance lighttpd lua boost_module</category>
 <pubDate>Sun, 27 Jun 2010 22:56:54 +0000</pubDate>
 <dc:creator>mark</dc:creator>
 <guid isPermaLink="false">18 at https://blog.thetajoin.com</guid>
</item>
<item>
 <title>Review: MySQL Admin Cookbook</title>
 <link>https://blog.thetajoin.com/content/review-mysql-admin-cookbook</link>
 <description>&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;img src=&quot;http://cf.thetajoin.com/images/blog/7962_MockupCover.jpg&quot; alt=&quot;MySQL Admin Cookbook&quot; title=&quot;MySQL Admin Cookbook&quot; style=&quot;margin: 5px; float: left;&quot; /&gt;MySQL Admin Cookbook from Packt Publishing, authored by Daniel Schneller &amp;amp; Udo Schwedt, is a new addition to the MySQL literary genre with 99 great recipes for mastering MySQL configuration and administration. Announcing quick answers to common problems, these 99 recipes cover a broad spectrum of managing MySQL, and are appropriate for new MySQL administrators as well as more experienced administrators. MySQL Admin Cookbook is available in dead tree and PDF formats. The book&#039;s website is: &lt;a href=&quot;https://www.packtpub.com/mysql-admin-cookbook/book&quot; title=&quot;https://www.packtpub.com/mysql-admin-cookbook/book&quot;&gt;https://www.packtpub.com/mysql-admin-cookbook/book&lt;/a&gt; with errata found at   &lt;a href=&quot;http://www/packtpub.com/support&quot; title=&quot;http://www/packtpub.com/support&quot;&gt;http://www/packtpub.com/support&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Subjects Covered
&lt;p&gt;&lt;/p&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Replication&lt;br /&gt;
&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Indexing Tools&lt;br /&gt;
&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Backing Up &amp;amp; Restoring MySQL Data&lt;br /&gt;
&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Managing Data&lt;br /&gt;
&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Monitoring &amp;amp; Analyzing MySQL Installation&lt;br /&gt;
&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Configuring MySQL&lt;br /&gt;
&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;MySQL User Management&lt;br /&gt;
&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Managing Schemas&lt;br /&gt;
&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Good to Know
&lt;p&gt;&lt;/p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;All in that order.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Recipe Format
&lt;p&gt;	&lt;/p&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;All recipes follow a common format:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Introduction of what this recipe will accomplish and why you&#039;d want to use it.&lt;br /&gt;
&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Getting Ready – This section outlines the requirements for the recipe, user privileges, programming  language familiarity, additional software required, and where to find additional information.&lt;br /&gt;
&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;How to do it – Step-by-step instructions and expected output from these steps. All the reader has to do is follow the steps.&lt;br /&gt;
&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;How it works – The details on how the recipe works. If you&#039;re unsure what happens during the How to do it section, be sure to spend all the time needed to understand how the recipe works. &lt;strong&gt;Don&#039;t implement any recipe unless you fully understand what it&#039;s doing and how it works.&lt;br /&gt;
&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;There&#039;s more – Following on from the How it works section, this part will give the reader additional information to expand the functionality of the recipe, or provide other tools that provide the same, or nearly the same functionality. If there are additional concerns to look out for, it&#039;ll be included here as well.
&lt;p&gt;&lt;/p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;MySQL Admin Cookbook Review&lt;br /&gt;
&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
MySQL Admin Cookbook really is not designed to be read cover-to-cover as I did for this review, but it left me with a clunkiness about chapter order. There were a few of the recipes I thought were too basic – creating a basic user, creating indexes and tables. Those DBA functions should be automatic before diving into a book with this level of technical content. After those little bits of personal opinion, overall, I really liked the book. I put a few of the recipes into action with the servers I&#039;m responsible for – Using a custom prompt, I would rely on the tab within terminal to see which server I was on, but that tab is missing when I SSH into a server from my phone. I quickly used Display query results page by page and Default pager as well since it makes it much easier to use the MySQL command-line client on smaller screens. Sometimes, it&#039;s the small things that make a large impact.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;I work mostly from the command-line, but I like the way MySQL Admin Cookbook used both command-line tools and MySQL GUI tools to demonstrate the recipes. The authors acknowledge that the MySQL GUI tools are end of life, but they are still useful tools, so don&#039;t discount them. One of the things I thought was left out was using phpMyAdmin as one of the “GUI” tools. If you&#039;ve never heard of phpMyAdmin, it is a very popular  web-based MySQL interface used by many web  hosting companies. One of the reviewers is heavily involved with phpMyAdmin development as well, so I would think at least one recipe in Chapter 3: Tools should have used phpMyAdmin.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;One of the most popular command-line tools outside of MySQL command-line is &lt;a href=&quot;http://www.maatkit.org/&quot; target=&quot;_blank&quot; title=&quot;Maatkit&quot;&gt;Maatkit&lt;/a&gt;, which is mentioned several times throughout the book. On this subject, Maatkit could really use its own book ( hint, hint Baron! ), but I digress – hopefully in a positive direction.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;At the time of this review, the was no errata on the Pakt website, and I couldn&#039;t add anything to the errata anyway. I&#039;ve not tried all the recipes for accuracy, but I couldn&#039;t find any tpyos or mispelings. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If you&#039;d like to see another DBA&#039;s perspective on MySQL server management or gain additional MySQL technical expertise, pick up a copy of MySQL Admin Cookbook.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
If you&#039;d like your MySQL, Drupal, or other F/OSS book reviewed on this site, please contact reviews@thetajoin.com.&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
</description>
 <comments>https://blog.thetajoin.com/content/review-mysql-admin-cookbook#comments</comments>
 <category domain="https://blog.thetajoin.com/category/blogtags/book-review">Book Review</category>
 <category domain="https://blog.thetajoin.com/category/blogtags/planet-mysql">Planet MySQL</category>
 <pubDate>Tue, 11 May 2010 04:40:17 +0000</pubDate>
 <dc:creator>mark</dc:creator>
 <guid isPermaLink="false">17 at https://blog.thetajoin.com</guid>
</item>
<item>
 <title>Configuring JW FLV Player 5.x in Drupal to Stream Videos Using Amazon S3 &amp; Cloudfront (Part III)</title>
 <link>https://blog.thetajoin.com/content/configuring-jw-flv-player-5x-drupal-stream-videos-using-amazon-s3-cloudfront-part-iii</link>
 <description>&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Part III will show how to configure Drupal content with an embedded &lt;a href=&quot;http://www.longtailvideo.com/&quot; target=&quot;_blank&quot;&gt;JW FLV Player 5.x&lt;/a&gt; media player. Get started by downloading the player and unzipping. We&#039;ll use Amazon Cloudfront to distribute the player instead of using our own webserver. After all, that&#039;s what a Content Delivery Network is for!&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The media player is comprised of a few javascript files, so they need to be stored in an S3 bucket that&#039;s configured for downloading instead of streaming:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;img src=&quot;http://cf.thetajoin.com/images/streams/AWSManager.png&quot; alt=&quot;AWS Manager&quot; title=&quot;AWS Manager&quot; width=&quot;537&quot; height=&quot;83&quot; style=&quot;display: block; margin-left: auto; margin-right: auto;&quot; /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;ThetaJoin uses an Amazon Cloudfront distribution based on an Amazon S3 bucket named: cf.thetajoin.com. Using the DNS masking trick, DNS was configured as a CNAME so cf.thetajoin.com pointed to the Amazon Cloudfront of &lt;a href=&quot;http://d3hezglo7u107t.cloudfront.net&quot; title=&quot;http://d3hezglo7u107t.cloudfront.net&quot;&gt;http://d3hezglo7u107t.cloudfront.net&lt;/a&gt;. We now have one Amazon Cloudfront distribution based on an Amazon S3 bucket that contains the video files to stream and have a download distribution based on another Amazon S3 bucket that contains the media player. The delivery method for an Amazon Cloudfront distribution can only be one of streaming or download, it can&#039;t be both at the same time. That&#039;s why we have two Amazon Cloudfront distributions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Upload the folder that contains the JW FLV Player, by default that&#039;s mediaplayer-viral, to your Amazon S3 bucket that&#039;s the source for your download Amazon Cloudfront distribution. When that&#039;s finished, change the ACL to that folder so everyone has read only access (make sure the apply to subfolders is checked):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;img src=&quot;http://cf.thetajoin.com/images/streams/JWMediaPlayerAmazonS3ACL.png&quot; alt=&quot;Amazon S3 ACLs&quot; title=&quot;Amazon S3 ACLs&quot; width=&quot;480&quot; height=&quot;387&quot; style=&quot;display: block; margin-left: auto; margin-right: auto;&quot; /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The media player is now ready for distribution using Amazon Cloudfront. The next step is to embed the HTML required to display the player, configure it, and finally play the video from the Amazon Cloudfront distribution that&#039;s configured for streaming. There are two ways to add this content to a node, the first way is via HTML object, the second way is using a WYSIWYG editor that&#039;s able to embed the video for you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Manual Way&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The manual way to include your media player within Drupal content is to add the &amp;lt;object&amp;gt;&amp;lt;/object&amp;gt; tags directly as HTML, especially if you&#039;re comfortable with editing HTML. This approach doesn&#039;t require any Drupal modules to be installed and actually should work on just about any other content management system as well. The full &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;lt;object&amp;gt;&amp;lt;/object&amp;gt; tags&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; for the iPod repair video:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class=&quot;brush: php;light: true; fontsize: 100; first-line: 1; &quot;&gt;&amp;lt;object id=&quot;iPod&quot; style=&quot;width: 640px; height: 480px; display: block; margin-left: auto; margin-right: auto;&quot; width=&quot;640&quot; height=&quot;480&quot; data=&quot;http://cf.thetajoin.com/mediaplayer-viral/player-viral.swf&quot; type=&quot;application/x-shockwave-flash&quot;&amp;gt;
&amp;lt;param name=&quot;data&quot; value=&quot;http://cf.thetajoin.com/mediaplayer-viral/player-viral.swf&quot; /&amp;gt;
&amp;lt;param name=&quot;quality&quot; value=&quot;autohigh&quot; /&amp;gt;
&amp;lt;param name=&quot;wmode&quot; value=&quot;transparent&quot; /&amp;gt;
&amp;lt;param name=&quot;flashvars&quot; value=&quot;file=iPodVideo5GRepair.flv&amp;amp;amp;streamer=rtmp://streams.thetajoin.com/cfx/st&quot; /&amp;gt;
&amp;lt;param name=&quot;name&quot; value=&quot;iPod&quot; /&amp;gt;
&amp;lt;param name=&quot;src&quot; value=&quot;http://cf.thetajoin.com/mediaplayer-viral/player-viral.swf&quot; /&amp;gt;
&amp;lt;param name=&quot;bgcolor&quot; value=&quot;undefined&quot; /&amp;gt;&amp;lt;/object&amp;gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The values where you see the cf.thetajoin.com domain need to be replaced with your own Amazon Cloud Front distribution URL that&#039;s configured for downloading. Width/height values can be set to the size of player you&#039;d like displayed. Look for the flashvars param, replace file=iPodVideo5GRepair.flv, with the name of your FLV file, and adjust the streamer= to point to your Amazon Cloud Front distribution that&#039;s configured for streaming. Don&#039;t forget to add the /cfx/st without the trailing slash. The second to last param &quot;src&quot; also needs to be changed to point to your Amazon Cloud Front distribution that&#039;s configured for downloading.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style=&quot;font-size: large;&quot;&gt;WYSIWYG Editor Method&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Most popular WYSWYG editors have an toolbar button to assist with the embedding of streaming content. This example will use TinyMCE to embed the JW FLV Flash player into Drupal content so you don&#039;t have to edit HTML.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;img src=&quot;http://cf.thetajoin.com/images/streams/TinyMCEEditorToolbar.png&quot; alt=&quot;TinyMCE Editor Toolbar&quot; title=&quot;TinyMCE Editor Toolbar&quot; width=&quot;650&quot; height=&quot;64&quot; style=&quot;display: block; margin-left: auto; margin-right: auto;&quot; /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Clicking on that toolbar button presents the following screen:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;img src=&quot;http://cf.thetajoin.com/images/streams/TinyMCEEmeddedVideoGeneral.png&quot; alt=&quot;TinyMCE Editor Embed Video&quot; title=&quot;TinyMCE Editor Embed Video&quot; width=&quot;444&quot; height=&quot;548&quot; style=&quot;display: block; margin-left: auto; margin-right: auto;&quot; /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Type dropdown is set to Flash, File/URL textbox contains the Amazon Cloudfront URL to the JW FLV Player. Dimensions of your player can be set as well. Click on the Advanced tab next:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;img src=&quot;http://cf.thetajoin.com/images/streams/TinyMCEEmbeddedVideoAdvancedTab.png&quot; alt=&quot;TinyMCE Editor Embed Video Advanced Tab&quot; title=&quot;TinyMCE Editor Embed Video Advanced Tab&quot; width=&quot;444&quot; height=&quot;548&quot; style=&quot;display: block; margin-left: auto; margin-right: auto;&quot; /&gt;Give an Id &amp;amp; Name to your embedded object. The key textbox in the Advanced tab is the Flashvars textbox. Take a look at the flashvars param in the manual way, copy and paste after value= into this textbox. Be sure to click the Update button to save your configuration. Once this is done, your video will be displayed within your newly embedded video player like below.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;object id=&quot;iPod&quot; style=&quot;width: 640px; height: 480px; display: block; margin-left: auto; margin-right: auto;&quot; width=&quot;640&quot; height=&quot;480&quot; data=&quot;http://cf.thetajoin.com/mediaplayer-viral/player-viral.swf&quot; type=&quot;application/x-shockwave-flash&quot;&gt;&lt;param name=&quot;data&quot; value=&quot;http://cf.thetajoin.com/mediaplayer-viral/player-viral.swf&quot; /&gt;&lt;param name=&quot;quality&quot; value=&quot;autohigh&quot; /&gt;&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot; /&gt;&lt;param name=&quot;flashvars&quot; value=&quot;file=iPodVideo5GRepair.flv&amp;amp;streamer=rtmp://streams.thetajoin.com/cfx/st&quot; /&gt;&lt;param name=&quot;name&quot; value=&quot;iPod&quot; /&gt;&lt;param name=&quot;src&quot; value=&quot;http://cf.thetajoin.com/mediaplayer-viral/player-viral.swf&quot; /&gt;&lt;param name=&quot;bgcolor&quot; value=&quot;undefined&quot; /&gt;&lt;/object&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The quality of the video isn&#039;t the best after the conversion from OGV to FLV format, so it&#039;s not any problem with Amazon Cloudfront streaming this video, it&#039;s the videographer! &lt;img src=&quot;/sites/all/libraries/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif&quot; alt=&quot;Laughing&quot; title=&quot;Laughing&quot; border=&quot;0&quot; /&gt; This is a 44 minute video demonstrating how to replace the screen and headphone jack of an iPod Video 5th Generation. If you try to repair your iPod using this video, you do so at your own risk!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;I&#039;m working on Part IV, stay tuned!!&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-- Mark&lt;/p&gt;
</description>
 <comments>https://blog.thetajoin.com/content/configuring-jw-flv-player-5x-drupal-stream-videos-using-amazon-s3-cloudfront-part-iii#comments</comments>
 <category domain="https://blog.thetajoin.com/category/blogtags/amazon-s3">Amazon S3</category>
 <category domain="https://blog.thetajoin.com/category/blogtags/drupal">drupal</category>
 <category domain="https://blog.thetajoin.com/category/blogtags/drupal-planet">Drupal Planet</category>
 <category domain="https://blog.thetajoin.com/category/blogtags/streaming-content">Streaming Content</category>
 <pubDate>Mon, 15 Mar 2010 22:33:16 +0000</pubDate>
 <dc:creator>mark</dc:creator>
 <guid isPermaLink="false">15 at https://blog.thetajoin.com</guid>
</item>
<item>
 <title>Preparing Amazon S3 &amp; CloudFront for Streaming Flash Videos from Your Drupal Site (Part II)</title>
 <link>https://blog.thetajoin.com/content/preparing-amazon-s3-cloudfront-streaming-flash-videos-your-drupal-site-part-ii</link>
 <description>&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;This is Part II of an unknown number of posts about using Amazon S3 &amp;amp; CloudFront to host your Drupal site&#039;s streaming media. Part I covered a very basic approach using an Ogg Vorbis Video formatted file delivered over HTTP. Although this will work over HTTP with limited support from embedded media players, this isn&#039;t the internet standard for delivering streaming videos. One standard protocol to use is&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; the real time messaging protocol or&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;a href=&quot;http://en.wikipedia.org/wiki/Real_Time_Messaging_Protocol&quot; target=&quot;_blank&quot;&gt;rtmp&lt;/a&gt;, developed by &lt;a href=&quot;http://www.adobe.com&quot; target=&quot;_blank&quot;&gt;Adobe Systems&lt;/a&gt;. From the Amazon CloudFront manual:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&quot;CloudFront uses Adobe Flash Media Server 3.5 to stream on-demand content with Adobe&#039;s&lt;br /&gt;
			Real-Time Messaging Protocol (RTMP). CloudFront accepts RTMP requests over port 1935 and&lt;br /&gt;
			port 80.&quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;This means flash videos can be streamed from Amazon CloudFront. This post will show how to convert that Ogg Vorbis Video file to flash video format on Ubunta 9.10 and then configure Amazon CloudFront to support streaming the flash video.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;strong&gt;1.&lt;/strong&gt; Converting Ogg Vorbis to Flash Video&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;In order to convert the ogv file to flv format, ffmpeg needs to be installed. On Ubuntu 9.10:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class=&quot;brush: bash;gutter: false; light: true; fontsize: 100; first-line: 1; &quot;&gt;sudo apt-get install ffmpeg&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;strong&gt;2.&lt;/strong&gt; Convert the ogv file to flv format:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash;gutter: false; light: true; fontsize: 100; first-line: 1; &quot;&gt;ffmpeg -i iPodVideo5GRepair.ogv -s 800x600 iPodVideo5GRepair.flv&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The -s ffmpeg option resizes the video to 800x600. The original video file was recorded at 1600x1000. This reduced the file size from 440MB to 124MB. Still 44 minutes in length though.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;strong&gt;3.&lt;/strong&gt; Create Amazon S3 Bucket&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Amazon CloudFront needs an Amazon S3 bucket to store the flv file. CloudFront uses Amazon S3 as the source for the flv file to stream. Amazon CloudFront only supports the distribution of content, not the storage. Using your favorite Amazon S3 client, create a bucket that&#039;s named like your internet domain name. In the case of ThetaJoin, a bucket was created named streams.thetajoin.com.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;img src=&quot;http://cf.thetajoin.com/images/streams/AmazonS3StreamingFolder.png&quot; alt=&quot;Amazon S3 Bucket&quot; title=&quot;Amazon S3 Bucket&quot; style=&quot;display: block; margin-left: auto; margin-right: auto;&quot; /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;strong&gt;4.&lt;/strong&gt; Configure Bucket for Streaming Content&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;CloudFront supports content distribution using two different methods - download and streaming. The download method is used for static content such as PDFs, JPG, or PNG files. The other method is the streaming method that&#039;s used to stream either audio or video files. A CloudFront distribution can only support one of these methods at a time, hence the creation of the streams.thetajoin.com bucket to support the CloudFront distribution that will stream the flash video file. Log in to the Amazon Web Services (AWS) Manager to access CloudFront: &lt;a href=&quot;https://console.aws.amazon.com/cloudfront/home&quot; title=&quot;https://console.aws.amazon.com/cloudfront/home&quot;&gt;https://console.aws.amazon.com/cloudfront/home&lt;/a&gt; . Once there, the streams.thetajoin.com bucket can be configured to support CloudFront streaming. Click on the Create Distribution button:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;img src=&quot;http://cf.thetajoin.com/images/streams/CreatingDistribution.png&quot; alt=&quot;Creating Streaming Cloud Front&quot; title=&quot;Creating Streaming Cloud Front&quot; style=&quot;display: block; margin-left: auto; margin-right: auto;&quot; /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Choose Streaming for the Delivery Method, select the Amazon S3 bucket, give it a CNAME the same as the Amazon S3 bucket name, and make sure it&#039;s enabled. Creating the CloudFront streaming distribution can take some time. AWS Manager will show that the distribution was created:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;img src=&quot;http://cf.thetajoin.com/images/streams/CreatedStreamingDistribution.png&quot; alt=&quot;AWS Manager - CloudFront&quot; title=&quot;AWS Manager - CloudFront&quot; width=&quot;650&quot; height=&quot;299&quot; style=&quot;display: block; margin-left: auto; margin-right: auto;&quot; /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The streams.thetajoin.com bucket has the following attributes:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Delivery Method: Streaming&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Domain Name: s9vf9f1gnogon.cloudfront.net&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Origin Bucket: streams.thetajoin.com.s3.amazonaws.com&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;State: Deployed&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Status: Enabled&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The streams.thetajoin.com bucket is ready to support streaming of any streamable content stored there.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;strong&gt;5.&lt;/strong&gt; Configure DNS&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The URL to the CloudFront distribution is &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;s9vf9f1gnogon.cloudfront.net&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;, which is on the ugly side and doesn&#039;t maintain your site domain name. It would be great for your site branding to use a portion of the origin bucket URL, streams.thetajoin.com only. To do this, you&#039;ll need to configure your DNS server with a CNAME value that&#039;s the name of your Amazon S3 bucket, that points to the Domain Name of your CloudFront distribution. In ThetaJoin&#039;s case streams.thetajoin.com points to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;s9vf9f1gnogon.cloudfront.net&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;. Now, when a URL with the domain streams.thetajoin.com is requested from the media player, the DNS server will &quot;redirect&quot; the URL to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;s9vf9f1gnogon.cloudfront.net&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;. From the end user, it&#039;ll look like your streaming content is being delivered from your own private content delivery network.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Amazon S3 and CloudFront are configured to support streaming the flash video that was converted in step 1. Part III of this series will show how to add streaming content to your site.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
</description>
 <comments>https://blog.thetajoin.com/content/preparing-amazon-s3-cloudfront-streaming-flash-videos-your-drupal-site-part-ii#comments</comments>
 <category domain="https://blog.thetajoin.com/category/blogtags/amazon-s3">Amazon S3</category>
 <category domain="https://blog.thetajoin.com/category/blogtags/drupal">drupal</category>
 <category domain="https://blog.thetajoin.com/category/blogtags/drupal-planet">Drupal Planet</category>
 <category domain="https://blog.thetajoin.com/category/blogtags/sandcamp-2010">SandCAMP 2010</category>
 <category domain="https://blog.thetajoin.com/category/blogtags/streaming-content">Streaming Content</category>
 <pubDate>Tue, 09 Mar 2010 14:00:00 +0000</pubDate>
 <dc:creator>mark</dc:creator>
 <guid isPermaLink="false">14 at https://blog.thetajoin.com</guid>
</item>
<item>
 <title>Drupal Integration with Amazon Cloud Front Streaming Video Demo</title>
 <link>https://blog.thetajoin.com/content/drupal-integration-amazon-cloud-front-streaming-video-demo</link>
 <description>&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;During &lt;a href=&quot;http://sandcamp.org/&quot; target=&quot;_blank&quot;&gt;SandCAMP&lt;/a&gt; 2010, I held a session on &lt;a href=&quot;http://sandcamp.org/sessions/drupal-integration-amazon-s3-cloudfront&quot; target=&quot;_blank&quot;&gt;Drupal Integration with Amazon S3 &amp;amp; Cloudfront&lt;/a&gt;, you can download the &lt;a href=&quot;http://cf.thetajoin.com/SandCAMP2010/DrupalAmazonIntegration.pdf&quot; target=&quot;_blank&quot;&gt;session slides&lt;/a&gt; too. As I was preparing for this session, Amazon had announced that &lt;a href=&quot;http://aws.amazon.com/cloudfront/&quot; target=&quot;_blank&quot;&gt;Cloud Front&lt;/a&gt; was able to support streaming video and audio, but I didn&#039;t have enough time to put a demo together until now.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
I created a Cloud Front &lt;a href=&quot;http://cf.thetajoin.com/demos/iPodVideo5GRepair.ogv&quot; target=&quot;_blank&quot;&gt;demo video repairing my son&#039;s 5th Generation iPod Video&lt;/a&gt;, replacing the screen and headphone jack. This video was created using a &lt;a href=&quot;http://www.logitech.com/index.cfm/webcam_communications/webcams/devices/6333&amp;amp;cl=us,en&quot; target=&quot;_blank&quot;&gt;Logitech® Webcam Pro 9000&lt;/a&gt; into a Dell Inspiron 1525 laptop running Ubuntu 9.10 Karmic Koala. &lt;a href=&quot;http://projects.gnome.org/cheese/&quot; target=&quot;_blank&quot;&gt;Cheese&lt;/a&gt; recording software was used to record this 44 minute, 441MB video. The video is 1600x1000 OGG video at 5 frames per second using the Theora codec. The audio is in mono with the Vorbis codec sampled at 44100hz with a bitrate of 80kbps.&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The demo video was tested under Firefox 3.5.8 on the same laptop that was used for the recording, and it worked just fine. Same with Opera 10. IE wanted to download the video, so there maybe some other codecs that need to be installed in order to view the OGG video format streamed. Should work fine under Mac OSX too, but I have no way to test. Doesn&#039;t work on iTouch using Safari though.&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;What makes integrating Drupal with Cloud Front is that you can have your own private, unlimited video and audio content delivery network. This allows ultimate flexibility, no limits on the size or length of your video, choose your own video format, zero alteration of your video like what happens with the major video websites. With pay as you go, Cloud Front can really make your Drupal site shine.&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The video was created simply as a demo of Cloud Front. &lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;If you decide to try to repair your own iPod - you do so entirely at your own risk&lt;/strong&gt;&lt;/span&gt;! Please don&#039;t email me if you blow things up!!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;I&#039;m very interested in Cloud Front performance, please leave a comment on your experience with Cloud Front streaming.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;-- Mark&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
</description>
 <comments>https://blog.thetajoin.com/content/drupal-integration-amazon-cloud-front-streaming-video-demo#comments</comments>
 <category domain="https://blog.thetajoin.com/category/blogtags/cloud-front">Cloud Front</category>
 <category domain="https://blog.thetajoin.com/category/blogtags/drupal-planet">Drupal Planet</category>
 <category domain="https://blog.thetajoin.com/category/blogtags/sandcamp-2010">SandCAMP 2010</category>
 <pubDate>Sun, 07 Mar 2010 05:45:25 +0000</pubDate>
 <dc:creator>mark</dc:creator>
 <guid isPermaLink="false">13 at https://blog.thetajoin.com</guid>
</item>
<item>
 <title>Fun With Information Schema - How Big is My Drupal Database??</title>
 <link>https://blog.thetajoin.com/content/fun-information-schema-how-big-my-drupal-database</link>
 <description>&lt;p id=&quot;__mce&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Lately, I&#039;ve had a few people ask me &quot;How much data is in our database?&quot;. Sure, you can look at the file sizes of MyISAM tables and indexes and get a ballpark figure, but what if you need exact results, or are running InnoDB storage engine? That proves to be more challenging! In playing around with the information_schema, I&#039;ve put together some queries to help:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Calculate Index Sizes
&lt;/h2&gt;
&lt;p&gt;&lt;pre class=&quot;brush: sql;fontsize: 100; first-line: 1; &quot;&gt;mysql&amp;gt; SELECT CONCAT(ROUND(SUM(index_length)/(1024*1024*1024), 2), &#039; GB&#039;) AS &#039;Total Index Size&#039;
FROM information_schema.TABLES 
WHERE table_schema LIKE &#039;database&#039;; &lt;/pre&gt;&lt;pre class=&quot;brush: plain;gutter: false; fontsize: 100; first-line: 1; &quot;&gt;+------------------+
|Total Index Size  |
+------------------+
|1.70 GB           |
+------------------+

1 row in set (1.60 sec) &lt;/pre&gt;&lt;/p&gt;
&lt;h2&gt;Calculate the Total Size of Stored Data&lt;/h2&gt;
&lt;p&gt;&lt;pre class=&quot;brush: sql;fontsize: 100; first-line: 1; &quot;&gt;mysql&amp;gt; SELECT CONCAT(ROUND(SUM(data_length)/(1024*1024*1024), 2), &#039; GB&#039;) AS &#039;Total Data Size&#039; 
FROM information_schema.TABLES 
WHERE table_schema LIKE &#039;database&#039;;&lt;/pre&gt;&lt;pre class=&quot;brush: plain;gutter: false; fontsize: 100; first-line: 1; &quot;&gt;+-----------------+
| Total Data Size |
+-----------------+
|3.01 GB |
+-----------------+

1 row in set (1.35 sec) &lt;/pre&gt;&lt;/p&gt;
&lt;h2&gt;Per Table Sizes&lt;/h2&gt;
&lt;p&gt;&lt;pre class=&quot;brush: sql;fontsize: 100; first-line: 1; &quot;&gt;SELECT CONCAT(table_schema,&#039;.&#039;,table_name) AS &#039;Table Name&#039;, CONCAT(ROUND(table_rows/1000000,2),&#039;M&#039;) AS &#039;Number of Rows&#039;, 
CONCAT(ROUND(data_length/(1024*1024*1024),2),&#039;G&#039;) AS &#039;Data Size&#039;, 
CONCAT(ROUND(index_length/(1024*1024*1024),2),&#039;G&#039;) AS &#039;Index Size&#039; ,
CONCAT(ROUND((data_length+index_length)/(1024*1024*1024),2),&#039;G&#039;) AS&#039;Total&#039;
FROM information_schema.TABLES 
WHERE table_schema LIKE &#039;database&#039;; &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Just replace database with the partial name of your database you need to analyze. Yes, I know, those wonderful &lt;a href=&quot;http://www.maatkit.org&quot;&gt;Maatkit&lt;/a&gt; tools contains mk-find which can do the same thing, but then you won&#039;t learn about the information_schema database!! It&#039;s important to also know that running the above commands on a server that&#039;s very busy can result in slowing it down even more. The information schema tables are &#039;virtual tables&#039; they don&#039;t exist like regular database tables. Just be aware, and if you need to collect this information on a busy database, make a backup copy of your Drupal database and move it to a development server.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
</description>
 <comments>https://blog.thetajoin.com/content/fun-information-schema-how-big-my-drupal-database#comments</comments>
 <category domain="https://blog.thetajoin.com/category/blogtags/drupal-planet">Drupal Planet</category>
 <category domain="https://blog.thetajoin.com/category/blogtags/information-schema">Information Schema</category>
 <category domain="https://blog.thetajoin.com/category/blog-tags/mysql">MySQL</category>
 <category domain="https://blog.thetajoin.com/category/blogtags/planet-mysql">Planet MySQL</category>
 <pubDate>Sat, 13 Feb 2010 22:45:07 +0000</pubDate>
 <dc:creator>mark</dc:creator>
 <guid isPermaLink="false">6 at https://blog.thetajoin.com</guid>
</item>
<item>
 <title>Drush for Multisite Cron</title>
 <link>https://blog.thetajoin.com/content/drush-multisite-cron</link>
 <description>&lt;p&gt;When running multiple Drupal sites on the same server, it can be challenging to run cron.php for each installed site. Drush can be used to solve this problem nicely.&lt;/p&gt;
&lt;p&gt;First thing is to download drush:&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: plain;gutter: false; light: true; fontsize: 100; first-line: 1;&quot;&gt;http://drupal.org/project/drush&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;untar the tarball&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash;fontsize: 100; first-line: 1;&quot;&gt;tar xvzf drush-All-Versions-2.1.tar.gz&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;As root, copy all of the files and subdirectories in the drush directory:&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: plain;fontsize: 100; first-line: 1;&quot;&gt;cp -rp * /usr/local/bin&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;By placing all the drush related files and directories into /usr/local/bin, this will allow cron to execute drush. Test drush out from the commandline first like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash;fontsize: 100; first-line: 1;&quot;&gt;drush --root=/path/to/drupal --uri=http://www.thetajoin.com cron&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;It should return OK ofter running. Verify in your Drupal logs that cron ran sucessfully.&lt;/p&gt;
&lt;p&gt;After testing, start edit cron to run the above command:&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash;fontsize: 100; first-line: 1;&quot;&gt;crontab -e

*/17 * * * * /usr/local/bin/drush --root=/path/to/drupal --uri=http://blog.thetajoin.com cron
*/19 * * * * /usr/local/bin/drush --root=/path/to/drupal --uri=http://www.thetajoin.com cron&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;To make sure each site on the server wasn&#039;t updated at the exact same time, pick a time that&#039;s a prime number. I would like my Drupal sites updated roughly every 15 to 20 mins, so 19 minutes and 17 minutes will work just fine.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There you have it! Multisite cron using drush!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-- Mark&lt;/p&gt;
</description>
 <comments>https://blog.thetajoin.com/content/drush-multisite-cron#comments</comments>
 <category domain="https://blog.thetajoin.com/category/blogtags/drupal-planet">Drupal Planet</category>
 <category domain="https://blog.thetajoin.com/category/blog-tags/drush">Drush</category>
 <pubDate>Wed, 03 Feb 2010 05:59:59 +0000</pubDate>
 <dc:creator>mark</dc:creator>
 <guid isPermaLink="false">5 at https://blog.thetajoin.com</guid>
</item>
</channel>
</rss>
<!-- Page cached by Boost @ 2010-07-29 15:46:54, expires @ 2010-07-29 16:16:54 -->
