Re: [Unreal-users] Crontab
Status: Beta
Brought to you by:
wildchild
From: IcE <Ic...@cb...> - 2000-07-08 01:56:19
|
>From: AMO IRC, amo...@em... >How would I go about setting up a crontab for Unreal? I got crontab working >fine with our eggdrop but when the box reboots, Unreal does not >automatically restart. > >All I can find on the Web is information for setting up crontab tasks for >automatically mailing logs and suchlike. at the prompt type: crontab -e (have your default text editor in your .bashrc or .profile) in the crontab type in: 0,10,20,30,40,50 * * * * /home/user/Unreal3.0/src/ircd >/dev/null 2>&1 (this will check the ircd every ten minutes to see if it is running. If the ircd is not running it will automatically start it. The ">/dev/null 2>&1" keeps crontab from sending you email and loading up your inbox with crap.) ...save the crontab and everything should be fine. -Nick Ic...@cb... |