Update paths to rss-bot.

(imported from commit ab6ea5e881593c8533680323bf525faacc2ddfec)
This commit is contained in:
Tim Abbott 2013-11-18 08:04:40 -05:00
parent 3493c4fa76
commit 1232e7d0ab

View file

@ -52,17 +52,17 @@ To use this script:
3. create a ~/.zuliprc, or specify user and api-key with command line arguments
4. Test the script by running it manually, like this:
/usr/local/share/zulip/demos/rss-bot
/usr/local/share/zulip/integrations/rss/rss-bot
You can customize the location on the feed file and recipient stream, e.g.:
/usr/local/share/zulip/demos/rss-bot --feed-file=/path/to/my-feeds --stream=my-rss-stream
/usr/local/share/zulip/integrations/rss/rss-bot --feed-file=/path/to/my-feeds --stream=my-rss-stream
4. Configure a crontab entry for this script. A sample crontab entry for
processing feeds stored in the default location and sending to the default
stream every 5 minutes is:
*/5 * * * * /usr/local/share/zulip/demos/rss-bot"""
*/5 * * * * /usr/local/share/zulip/integrations/rss/rss-bot"""
parser = optparse.OptionParser(usage)
parser.add_option('--stream',