<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -7,12 +7,14 @@
 (set 'params (main-args))
 (if (&lt; (length params) 3)
   (begin
-    (println &quot;USAGE: checksite.lsp url&quot;)
+    (println &quot;USAGE: checksite.lsp url repeats&quot;)
     (exit)
   )
 )
 
 (set 'url (nth 2 params))
+; repeats - # of repeat alerts to send once an alert is tripped
+(set 'repeats (nth 3 params))
 (set 'startdate (date))
 
 (println &quot;----[ Sitebeagle is checking your site ]----&quot;)
@@ -44,12 +46,17 @@
 ;
 ; send the tweet
 ;
-(tweet:dm (string &quot;something changed: &quot; snoopy:url))
-(println &quot;something changed: &quot; snoopy:url)
-(println &quot;startdate:&quot;)
-(println startdate)
-(println &quot;enddate:&quot;)
-(println (date))
-
+(until (&gt; iter (int repeats))
+	(tweet:dm (string &quot;sequnce (&quot; (int iter) &quot;) something changed: &quot; snoopy:url))
+  (println &quot;sending tweet alert sequence: &quot; (int iter))
+	(println &quot;something changed: &quot; snoopy:url)
+	(println &quot;startdate:&quot;)
+	(println startdate)
+	(println &quot;enddate:&quot;)
+	(println (date))
+  (inc iter)
+  (sleep 15000)
+
+) ; end until
 
 (exit)</diff>
      <filename>checksite.lsp</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b13347754c17e99fe176a70b3ad0b8d0f97c6206</id>
    </parent>
  </parents>
  <author>
    <name>barce</name>
    <email>jbarcelona@gmail.com</email>
  </author>
  <url>http://github.com/barce/sitebeagle/commit/d1849420557b14ab0f79d19598cc2cf138fad2ba</url>
  <id>d1849420557b14ab0f79d19598cc2cf138fad2ba</id>
  <committed-date>2009-08-08T21:25:29-07:00</committed-date>
  <authored-date>2009-08-08T21:25:29-07:00</authored-date>
  <message>sitebeagle will DM you every 15 seconds N times until you turn the alerts off</message>
  <tree>e44d9f0b92fcab88edc1515f142c244b8f71ae52</tree>
  <committer>
    <name>barce</name>
    <email>jbarcelona@gmail.com</email>
  </committer>
</commit>
