[packages/redis] sample crontab doing background writes

glen glen at pld-linux.org
Mon Aug 27 02:43:47 CEST 2012


commit 2e58f3d77ccd3a4def636f0a9877f9364ac3df82
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Aug 27 03:43:31 2012 +0300

    sample crontab doing background writes

 redis.crontab | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/redis.crontab b/redis.crontab
new file mode 100644
index 0000000..cb632c6
--- /dev/null
+++ b/redis.crontab
@@ -0,0 +1,3 @@
+MAILTO=root
+
+#*/5 * * * * redis redis-cli -h localhost bgrewriteaof > /dev/null


More information about the pld-cvs-commit mailing list