Next / Previous / Contents / TCC Help System / NM Tech homepage

4. Operation of the script

The script takes one command line argument:

homelist2 path

The path argument is a path name relative to the directory that is the starting point for the official TCC web:

The script will produce an index.html file in that directory for the top-level page, and will also build files for each letter of the alphabet whose names are x-X.html where X is the letter indexed on that page.

For example, if the base page is to have this URL:

then the crontab entry on would look like this:

0 4 * * * (cd /u/www/docs/tcc/projects/homepage2; \
    nice homelist2 homelist)

This runs the script at 4am daily, niced down.