Thursday, August 8, 2013

How to setup crontab for psyBNC

First thing to do is you must edit psbncchk file in your psyBNC folder.
$ nano psybncchk
Search for this line:
PSYBNCPATH=/home/zemra/psybnc
Change the path into your psyBNC path, look at this example:
PSYBNCPATH=/home/zemra/psybnc
Save the file and exit the editor.
Change the default editor by using this command:
$ export EDITOR=nano

Next step is editing the crontab file:
$ crontab -e
Insert this line to the file:
0,10,20,30,40,50 * * * * /home/zemra/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.

No comments:

Post a Comment