ISFDB:Configure Nightly Processing

From ISFDB
Revision as of 15:41, 21 April 2021 by Ahasuerus (talk | contribs) (Updated the installation instructions to reflect the current setup on the lve server)
Jump to navigation Jump to search

Note: the following two files reside in the "nightly" subdirectory under INSTALL_HTML.

First, configure crontab to run nightly_job.py once a day, e.g.:

00    01    *    *    *    /var/www/html/nightly/nightly_job.py > /dev/null 2>&1

When it runs, this task will regenerate database statistics and rerun the cleanup reports.

Next, configure crontab to run monthly_job.py once a month, e.g.:

00    02    7    *    *    /var/www/html/nightly/monthly_job.py > /dev/null 2>&1

When it runs, this task will recreate the "Suspected Duplicate Authors" cleanup report. Note that this process takes a long time and puts a lot of stress on the server, so it should only be run infrequently.