diff options
| author | David Walter Seikel | 2011-11-30 18:09:21 +1000 |
|---|---|---|
| committer | David Walter Seikel | 2011-11-30 18:09:21 +1000 |
| commit | 7c1e0c70ead781606960086c835caf932b476d5f (patch) | |
| tree | e37d4c8cb1f77c6129f7ca5e0b1eb034675dc17f | |
| parent | Oops, left un macro'd sudos in there. I'll get the back up cron job working ... (diff) | |
| download | IGnoble-7c1e0c70ead781606960086c835caf932b476d5f.zip IGnoble-7c1e0c70ead781606960086c835caf932b476d5f.tar.gz IGnoble-7c1e0c70ead781606960086c835caf932b476d5f.tar.bz2 IGnoble-7c1e0c70ead781606960086c835caf932b476d5f.tar.xz | |
Avoid getting emails from cron.
| -rw-r--r-- | opensim-crontab.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opensim-crontab.txt b/opensim-crontab.txt index caaaafc..f42aba7 100644 --- a/opensim-crontab.txt +++ b/opensim-crontab.txt | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | # at midnight, remove old logs, files created 3 or more days ago | 7 | # at midnight, remove old logs, files created 3 or more days ago |
| 8 | #0 0 * * * find /var/log/opensim -ctime +1 -delete | 8 | #0 0 * * * find /var/log/opensim -ctime +1 -delete |
| 9 | # experimental version using savelog -c cycles all opensim log files over 7 days | 9 | # experimental version using savelog -c cycles all opensim log files over 7 days |
| 10 | 0 0 * * * /usr/bin/savelog -c 7 /var/log/opensim/*.log | 10 | 0 0 * * * /usr/bin/savelog -c 7 /var/log/opensim/*.log > /dev/null |
| 11 | 11 | ||
| 12 | # Backup the sims every 6 hours. | 12 | # Backup the sims every 6 hours. |
| 13 | 0 */6 * * * /opt/opensim/setup/backup-sims.sh | 13 | 0 */6 * * * /opt/opensim/setup/backup-sims.sh |
