Code: Select all
0,10,20,30,40,50 * * * * /home/mydir/mybotdir/botchk >/dev/null 2>&1
Code: Select all
*/10 * * * * /home/mydir/mybotdir/botchk >/dev/null 2>&1
Whatever.CrazyCat wrote:is simpliest imhoCode: Select all
*/10 * * * * /home/mydir/mybotdir/botchk >/dev/null 2>&1
Code: Select all
./autobotchk
What is there to not understand?# change this to the directory you run your bot from (capitalization COUNTS):
botdir="/home/mydir/mybot"
# change this to the name of your bot's config file (capitalization COUNTS):
botscript="mybot"
# change this to the botnet-nick of your bot (capitalization COUNTS):
botname="LamestBot"
# change this to the name of your bot's userfile (capitalization COUNTS):
userfile="LamestBot.user"
# change this to the name of your bot's pidfile (capitalization COUNTS):
pidfile="pid.LamestBot"