Re: Re: floc.net down

Chris Babcock <[email protected]> Tue, 15 Sep 2009 05:37:39 -0700
Newsgroups gmane.games.diplomacy.judge.dp.discussion
Organization ASCII King Games
Message-ID <[email protected]>
On Mon, 14 Sep 2009 18:55:08 -0000
"alain_tesio" <[email protected]> wrote:

> - There is no crontab yet, I don't know what script should be
> scheduled.

Here's the crontab on USPN:

###     ---------------------------------------
###             Provide the PATH to the host.toolDir
###     because some tools use shell scripts
###     ---------------------------------------
#PATH = $PATH:/home/uspn/DPjudge/web/imaging
DPJUDGEDIR = /home/uspn/bin

### ------------------------------------------------------------
### The job below checks dpjudge game deadlines every 20 minutes
### ------------------------------------------------------------
0,20,40 * * * * $DPJUDGEDIR/check >> /home/uspn/log/info 2>>/home/uspn/log/errors

### ------------------------------------------------------------

The paths will be different in another way apart from the obvious one.
In addition to being the USDP user, the DPjudge directory may not live
in the judge user's home directory.

On USPN, the imaging utilities (netpbm) are already on the system path.
Floc may or may not have those installed. If you install recent
versions, it is still good to set up the path so that the judge can
find the compatibility interfaces for tools that were deprecated and
may have been discontinued.

Chris



------------------------------------