| I. The Easy Way (Automatic)
|
Telnet into to your SATEXAS account, and type 'menu'. This menu is a SATEXAS-only feature, designed and coded by our own staff, the first shell provider (and currently the only) to provide such a toolkit.
Select the CRONTAB option, and follow the procedure and questions. This program works for both the internal bot, our pre-compiled bots, and unique custom compiled bots.
| II. The Hard Way (Manual)
|
There are multiple files that need to be created and edited. To setup crontab, do the following steps, and test. If if fails, please reference our Crontab Troubleshooting page.
- Your bot's main configuration file (egg.config) needs to be edited. It's very important that the first line
of this config file is the full path to the bot's executable file. Here are some examples :
- #!/usr/local/bin/eggdrop/bot
(Internal bot)
- #!/usr2/home/efnet/login/eggdrop
- #!/usr2/home/undernet/login/eggdrop
To get your full path, type 'pwd' at the unix prompt.
- The botchk file now needs to be edited with your bot's settings. In our examples below, the italicized words need to be substituted with your file names and settings.
botdir="Bot4.2"
botname="botnick"
userfile="Bot.user"
- Now we need to configure the program CRONTAB to run the botchk program in time intervals. To edit crontab, type 'crontab
-e at the unix prompt.
Make changes to your crontab file to look similar to the following : (All on one line!)
4,14,24,34,44,54 * * * * /usr2/home/efnet/Bot4.3/botchk >/dev/null 2>&1
- And finally, we double-check the file permissions on our files to make extra-sure they are correct.
chmod +x egg.config
chmod +x botchk
|