roger wrote:... i cd into the bots directory in terminal, then did ./autobotchk eggdrop.conf -noemail -5
Before you do that change of directories, do: whoami
because it sounds like you were root, not a regular user.
... when i do crontab -e as root
but does not show a crontab for user
That sounds like you have found the problem.
If I recall correctly, eggdrop will not run from root.
and it's not working, bot not starting unless i start it manually,
As a regular user, correct?
The user that owns the eggdrop files?
If it were me, I would:
First, I would become root ( it sounds like you are sudo) and get rid of that crontab entry in root's crontab. Clean that up.
Next, I would get back to being my regular self. The user that owns the eggdrop files and dirs.
THEN I would use the autobotchk script file to create a new Botnick.botchk and crontab entry. Both should belong to that regular user. In other words, they will start eggdrop as regular user, same as you did, manually.
You can even try it, without waiting on crontab. The Botnick.botchk file will be an executable file. Just run it from the linux command line.
As in: ./Botnick.botchk
and see what happens. It should start bot, if not already running.
Check with: ps x , both before and after executing it.
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !