Addventure 2.0 Administration
newgame
Options:
- -filepath UNIX_path_to_files (mandatory)
-
- -urlpath URL_files_are_at (mandatory)
-
- -binpath URL_CGI_scripts_are_in (mandatory)
-
- -backlink (default)
- -nobacklink
-
- -linkdefault
- -nolinkdefault (default)
-
- -evilhtml
- -noevilhtml (default)
-
- -cleanup seconds_to_leave_room_open (default = 1 day)
-
- -goback
- -nogoback
- -singlegoback (default)
-
- -title game_title (optional)
-
- -roomw room_word (default = "room")
-
timeout
Command Line Parameters
Options:
- -filepath UNIX_path_to_files (mandatory)
-
- -urlpath URL_files_are_at (mandatory)
-
- -binpath URL_CGI_scripts_are_in (mandatory)
-
- -room room_number (mandatory)
-
- -force (optional)
-
Using the 'timeout-all.sh' program
Set the following variables the same way you ran them with newgame:
The following variables point to programs:
- BASENAME - the location of the standard basename utility
- TIMEOUT - the location of the Addventure timeout program.
The timeout-all.sh program is usually run from
cron.
Using 'cron'
Linux, SunOS, and SysV systems
Create a file with lines in the format:
minute hour day_of_month month day_of_week command and parameters
p
comments may be preceeded by a #. "Wildcard" values may be filled
in with a *.
Install them, so they may be processed and used, with the command
-
- crontab -r filename
where filename is the name of the file that contains the cron data.
Some examples:
- Run daily at 1am
- * 1 * * * /home/asf/src/addventure/version-2.0/timeout-all.sh
- Run almost constantly
- 0-59 * * * * /home/asf/src/addventure/version-2.0/timeout-all.sh
- Run every Monday at 3am
- * 3 * * 1 /home/asf/src/addventure/version-2.0/timeout-all.sh