aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/opensim-crontab.txt
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--opensim-crontab.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/opensim-crontab.txt b/opensim-crontab.txt
new file mode 100644
index 0000000..ab694f7
--- /dev/null
+++ b/opensim-crontab.txt
@@ -0,0 +1,11 @@
1# to see current crontab for opensim
2# $ sudo crontab -u opensim -l
3#
4# to install this crontab for opensim:
5# $ cat /opt/opensim/config/opensim-crontab.txt | sudo crontab -u opensim -
6#
7# at midnight, remove old logs, files created 3 or more days ago
8#0 0 * * * find /var/log/opensim -ctime +1 -delete
9# experimental version using savelog -c cycles all opensim log files over 7 days
100 0 * * * /usr/bin/savelog -c 7 /var/log/opensim/*.log
11