#
change this to the directory you run your bot from: botdir="/usr/home/user/botdir/"
# change this to the name of your bot's script in that directory: botscript="./eggdrop eggdrop.conf"
# change this to the nickname of your bot (capitalization
COUNTS) botname="BotNick"
# change this to the name of your bot's userfile (capitalization
COUNTS) userfile="bot.user"
type
->
ctrl+o
Save
the file
type
->
ctrl+x
exit
pico
PART
2:
Setting up the crontab file
type
->
pico
crones
this
will be your crontab file
type
->
0,10,20,30,40,50
*
* * *
/home/user/botdir/botchk
>/dev/null
2>&1
-
^--(1)
^--(2)
^--(3)
^--(4)
-
1.
time in (minutes) it will check to see if the bot is running 2. tells it to run every hour/day
of month/month/year 3. full system path to the location
of your botchk file 4. tells the system not to send
you mail everytime crontab loads the bot or checks to see if
the bot is running (this is a good idea because some sys admins
might get upset with all of the emails)
type
->
ctrl+o
Save
the file
type
->
ctrl+x
exit
pico
type
->
crontab
crones
This
will load the file "crones" into your crontab. You
can check your crontab by typing "crontab -l"