(no commit message)
[utils] / crawler / kissweb / src / org.wamblee.crawler.kiss.xml
index 79bf2413783700a86f29ca99b6523e1e0b40b984..0137d940ae4ad577718a80d20ec9d75bd50a51af 100644 (file)
@@ -3,20 +3,26 @@
 
 <beans>
  
+  <!-- The object that tells quartz how to schedule the crawler --> 
   <bean id="org.wamblee.crawler.kiss.scheduling.quartz.QuartzCrawlerScheduler"
       class="org.wamblee.crawler.kiss.scheduling.quartz.QuartzCrawlerScheduler">
+      <constructor-arg><value type="int">3600</value></constructor-arg>
   </bean>   
   
+  <!-- The object which executes the crawler --> 
   <bean id="org.wamblee.crawler.kiss.scheduling.CrawlerExecutor"
       class="org.wamblee.crawler.kiss.scheduling.CrawlerExecutorImpl">
-      <constructor-arg><value>path/to/config.xml</value></constructor-arg>
-      <constructor-arg><value>path/to/programs.xml</value></constructor-arg>
+      <constructor-arg><value>/home/erik/crawler/config.xml</value></constructor-arg>
+      <constructor-arg><value>/home/erik/crawler/programs.xml</value></constructor-arg>
   </bean>
   
+  <!-- The object that determines whether to execute the crawler when it is signalled by 
+       the scheduler. --> 
   <bean id="org.wamblee.crawler.kiss.scheduling.CrawlerSchedule"
       class="org.wamblee.crawler.kiss.scheduling.CrawlerSchedule">
       <constructor-arg><ref local="org.wamblee.crawler.kiss.scheduling.CrawlerExecutor"/></constructor-arg>
       <constructor-arg><value type="int">5</value></constructor-arg> <!-- from 5 AM --> 
       <constructor-arg><value type="int">16</value></constructor-arg> <!-- to 4 PM --> 
   </bean>
+  
 </beans> 
\ No newline at end of file