hybrid 7 in Crontab

PC^God pcgod at chatjunkies.org
Wed Feb 16 20:41:52 EST 2005


Simos wrote:
> I've found crontab info for hybrid 7 on irchelp.org , i've try to use that 
> perl script :
> 
> #!/usr/bin/perl
> system('/home/ircd/hybrid/bin/ircd') if ( ! `ps -aef|grep -v grep|grep ircd);
> 
> I've try to run it my self to test but it don't work any suggestion ?
> Sorry for my bad english.
> 
> Best Regard 
> Simos
> 

We use something like this on one of our servers

#!/bin/sh
SERVER_ROOT=/path/to/hybrid
/bin/ps `cat ${SERVER_ROOT}/etc/ircd.pid` 2>&1 >/dev/null || (cd 
${SERVER_ROOT} && bin/ircd)





More information about the hybrid mailing list