User Tools

Site Tools


haas:spring2014:unix:projects:ircbot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
haas:spring2014:unix:projects:ircbot [2014/03/10 13:55] – [Background] wedgehaas:spring2014:unix:projects:ircbot [2014/03/10 14:02] (current) – [Task 1: Obtain irc bot] wedge
Line 30: Line 30:
 So, via the proper means: So, via the proper means:
  
-  * Download a recent release of Phenny+  * Download a recent release of Phenny (check out **wget**, it is a nifty tool)
     * There's an official Phenny     * There's an official Phenny
     * There's also a variant known as phenny_osu     * There's also a variant known as phenny_osu
Line 97: Line 97:
   * All criteria indicated above   * All criteria indicated above
   * To signal completion, submit an archive containing the following files:   * To signal completion, submit an archive containing the following files:
-    * botcheck script +    * botcheck script (call it **botcheck.sh**) 
-    * botkill script +    * botkill script  (call it **botkill.sh**) 
-    * a text file called "at.txtcontaining syntax used to create/deploy **at** job +    * a text file called (**at.txt**) containing syntax used to create/deploy **at** job 
-    * a listing of your crontab entries (crontab.txt), showing the correctly scheduled deployment of your script +    * a listing of your crontab entries (**crontab.txt**), showing the correctly scheduled deployment of your script 
-    * a copy of your configured bot's config file (config.py) +    * a copy of your configured bot's config file (**config.py**
-    * a text file containing the URL you downloaded your bot, along with any URLs you obtained modules/plugins used (botdata.txt)+    * a text file containing the URL you downloaded your bot, along with any URLs you obtained modules/plugins used (**botdata.txt**)
     * Put all these files in a **tar** archive     * Put all these files in a **tar** archive
     * Compress it with max compression using **bzip2**     * Compress it with max compression using **bzip2**
     * Name the archive **ircbot.tar.bz2**     * Name the archive **ircbot.tar.bz2**
 +  * After you've recorded the crontab entry with your botcheck script, remove the entry from your crontab (so we don't end up with a bunch of phantom bots nobody cares about).
 +  * When you're done with this project, kill your bot. Do not leave it running.
 +
 +**NOTE:** If this activity fascinates you and you'd like to keep playing with your bot, do so using a different config/handle, so it will not be confused with your project submission. If you want to schedule it, do so using a differently named script at a different time interval).
  
 To submit this project to me using the **submit** tool, run the following command at your lab46 prompt: To submit this project to me using the **submit** tool, run the following command at your lab46 prompt:
haas/spring2014/unix/projects/ircbot.1394459722.txt.gz · Last modified: 2014/03/10 13:55 by wedge