From 381c43c8fcb6e5e947a15883851a9e542ea9d7b0 Mon Sep 17 00:00:00 2001 From: nyan Date: Tue, 17 Dec 2013 10:41:03 -0800 Subject: [PATCH] Update README.md --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 724dc40..04ef476 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,17 @@ Here's the first few lines of INFO-level log after successful initialization: Backups are very important! The last thing you want is losing user wallets or record of transactions in the databse. -There are three simple backup scripts included that support backing up database, wallets, and configuration files to local directory and (optionally) to a remote host with `rsync`. Make sure to schedule regular backups and test whether they are actually performed. +There are three simple backup scripts included that support backing up database, wallets, and configuration files to local directory and (optionally) to a remote host with `rsync`. Make sure to schedule regular backups with cron and test whether they are actually performed. Example cron configuration: + + 0 8,20 * * * cd /opt/altcointip/altcointip/src && python _backup_db.py ~/backups + 0 9,21 * * * cd /opt/altcointip/altcointip/src && python _backup_wallets.py ~/backups + 0 10 * * * cd /opt/altcointip/altcointip/src && python _backup_config.py ~/backups + +### Statistics + +ALTcointip bot can be configured to generate tipping statistics pages (overall and per-user) and publish them using subreddit's wiki. After you configure and enable statistics in configuration, add the following cron job to update the main statistics page periodically: + + 0 */3 * * * cd /opt/altcointip/altcointip/src && python _update_stats.py ### What If I Want To Enable More Cryptocoins Later?