Add some more documentary to the cronjob.

This commit is contained in:
Thomas Keller 2011-12-23 01:06:13 +01:00
parent c07aee6287
commit 6875e62942

View File

@ -25,6 +25,13 @@
* This script recalculates the "project activity" for all of the * This script recalculates the "project activity" for all of the
* forge's projects for the given date. * forge's projects for the given date.
* If no date is given, yesterday's date is used. * If no date is given, yesterday's date is used.
*
* This script should run once a day. You can configure its behaviour
* with $cfg['activity_section_weights'] and $cfg['activity_lookback'].
*
* If the script runs more than once with the same date argument,
* previously recorded project activity values are replaced with the
* newly created ones.
*/ */
require dirname(__FILE__).'/../src/IDF/conf/path.php'; require dirname(__FILE__).'/../src/IDF/conf/path.php';