Set up your site to move log files automatically to
a compressed archive every day.
-
Check that the system's cron jobs are set.
sudo crontab -l
If the cron jobs are in place, you get output like this:
# Begin sourceforge cron jobs (Generated by the build. DO NOT HAND EDIT.) --
4,9,14,19,24,29,34,39,44,49,54,59 * * * * /opt/collabnet/teamforge/runtime/scripts/run-groups.sh 5mins
0 * * * * /opt/collabnet/teamforge/runtime/scripts/run-groups.sh hourly
0 0 * * * /opt/collabnet/teamforge/runtime/scripts/run-groups.sh daily
0 0 * * 0 /opt/collabnet/teamforge/runtime/scripts/run-groups.sh weekly
0 0 1 * * /opt/collabnet/teamforge/runtime/scripts/run-groups.sh monthly
# End sourceforge cron entries ----------------------------------------------
* * * * * /usr/bin/aiupdate -n -d http://mgr/dist >/dev/null 2>&1
If the output does not appear, you need to set up the cron jobs.
-
In the
/opt/collabnet/teamforge-installer/8.0.0.1/conf/site-options.conf
file, set the value of the
INSTALL_CRON option to
true.
-
Recreate the runtime environment.
-
./install.sh -V -r -d
/opt/collabnet/teamforge
All your site's logs will now be automatically rotated into a compressed
archive every 24 hours.