mirror of
https://github.com/vbatts/sl-feeds.git
synced 2024-11-25 17:05:39 +00:00
README: update the example
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
dc39b5bdc7
commit
2c411eb5cc
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue