psyBNC Crontab

When your server stops working and you must reboot it, the psyBNC cant start automatically. But with this simple trick, you''ll be able to start you psyBNC automatically when the server starts from a reboot.

First thing to do is you must edit psbncchk file in your psyBNC folder.

$ nano psybncchk

Search for this line:

PSYBNCPATH=/home/foobar/psybnc

Change the path into your psyBNC path, with your username:

PSYBNCPATH=/home/sisrv/psybnc

Save the file and exit the editor.

Change the default editor by using this command:

$ export EDITOR=nano

Ok, next step is editing the crontab file:

$ crontab -e

Insert this line to the file:

0,10,20,30,40,50 * * * * /home/sisrv/psybnc/psybncchk >/dev/null 2>&1

Remember, change the path to your psybnc path.

This crontab command means it will run the psybncchk file every 10 minutes.

  • psybnc crontab, psybnc cronjob, autostart psybnc
  • 312 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор?

Понудени резултати

UnrealIRCd crontab

UnrealIRCd crontab If you want to make sure that UnrealIRCd starts on system startup (or...

Anope Services crontab

Setting up a crontab A crontab entry will allow you to check periodically whether Anope is still...

About cronjob

The crontab is a list of commands that you want to run on a regular schedule, and also the name...

EggDrop crontab

The botchk script and crontab are used to automatically restart the bot if the shell it's on...

BOPM Crontab

#!/bin/sh # # Blitzed Open Proxy Monitor Crontab Script - Restart BOPM if needed. # # From...

Powered by WHMCompleteSolution