From 2c411eb5cc9e23ff335bc593ec05b3253fc353bb Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Sun, 5 Feb 2017 16:51:40 -0500 Subject: [PATCH] README: update the example Signed-off-by: Vincent Batts --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 892be86..f785a7e 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,14 @@ Ultimately ending up at http://www.slackware.com/~vbatts/feeds/ go get github.com/vbatts/sl-feeds ``` +Create a configuration from the sample + +```bash +sl-feeds --sample-config > ~/.sl-feeds.toml +``` + crontab like: ``` -0 */2 * * * ~/bin/sl-feeds -q || echo "$(date): failed to poll changelogs" | mail -s "[slackrss] changelog_http_poll failed $(date +%D)" me@example.com +0 */2 * * * ~/bin/sl-feeds -c ~/.sl-feeds.toml -q || echo "$(date): failed to poll changelogs" | mail -s "[slackrss] changelog_http_poll failed $(date +%D)" me@example.com ```