Mercurial > hg > Feedworm
view feedupdate.py @ 179:c8393c2cd324
add script to trigger couchdb replication
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sat, 10 Sep 2011 04:32:53 +0200 |
parents | 5b131f82057d |
children | bb3c851b18b1 |
line wrap: on
line source
#!/usr/bin/env python import BackendFactory import logging if __name__ == "__main__": logging.basicConfig(level=logging.DEBUG) backend = BackendFactory.createBackend() backend.updateAllFeeds() backend.expireFeedEntries() backend.dispose()