This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:spring2014:unix:projects:ircbot [2014/03/10 13:55] – [Background] wedge | haas: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 |
* There' | * There' | ||
* There' | * There' | ||
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 |
- | * botkill script | + | * botkill script |
- | * a text file called | + | * a text file called |
- | * a listing of your crontab entries (crontab.txt), | + | * 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/ | + | * a text file containing the URL you downloaded your bot, along with any URLs you obtained modules/ |
* 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/ | ||
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: |