aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/opensim-crontab.txt
blob: f26b25dcd53bd8a3a9300c6fb58fe59e7831cc1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# to see current crontab for opensim
#  $ sudo crontab -u opensim -l
#
# to install this crontab for opensim:
#  $ cat /opt/opensim/current/scripts/opensim-crontab.txt | sudo crontab -u opensim -
#
# at midnight, remove old logs, files created 3 or more days ago
#0 0 * * *       find /var/log/opensim -ctime +1 -delete
# experimental version using savelog -c cycles all opensim log files over 7 days
0 0 * * *       /usr/bin/savelog -c 7 /var/log/opensim/*.log > /dev/null

# Backup the inventories and sims every 6 hours.
0 */6 * * *       /opt/opensim/current/scripts/backup-sims.sh

# Only backup inventories on the grid server itself.
#55 */6 * * *       /opt/opensim/current/scripts/backup-inventories.sh