Permalink
Browse files

compact db every hour, fix Makefile

  • Loading branch information...
1 parent da6dc9e commit c310c0614240775dd23c4dd63072954decf52440 cloudhead committed Aug 23, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 Makefile
  2. +1 −1 etc/thingler.cron
View
@@ -2,4 +2,4 @@ css:
lessc pub/less/thingler.less > pub/css/thingler.css -x
crontab:
- sudo crontab thingler.cron -u couchdb
+ sudo crontab etc/thingler.cron -u couchdb
View
@@ -9,4 +9,4 @@
00 7 * * * cp /var/lib/couchdb/thingler.couch /usr/local/var/couchdb/thingler-backup.daily.`date +%a`.couch
# Compact database every day at 6AM
-00 6 * * * curl -H "Content-Type: application/json" -X POST http://0.0.0.0:5984/thingler/_compact
+00 */3 * * * curl -H "Content-Type: application/json" -X POST http://0.0.0.0:5984/thingler/_compact

0 comments on commit c310c06

Please sign in to comment.