aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/opensim-crontab.txt
blob: 2a0dbedb570700406cc5c3085dfe6efdf6da8fcf (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 week.
#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