Whee!</p>

<h2 id="cron">Cron</h2>
<p>Run it via cron.  Here’s an example of running a bot every two minutes</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>*/2 * * * * . ~/.bash_profile; cd /path/to/bot/;  ./bot.rb
</code></pre></div></div>

<h2 id="looping">Looping</h2>
<p>Run it as a background process.  Just put the guts of your bot in a loop like this:</p>

<div class="language-rb highlighter-rouge"><div class="highlight"><pre class="highligh