Mercurial > hg > Feedworm
diff feedupdate.py @ 134:40163eac0d27
rename feedupdate-main to feedupdate, adjust the launch script
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 23 Aug 2011 03:49:29 +0200 |
parents | feedupdate-main.py@32a173cb081c |
children | 5b131f82057d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/feedupdate.py Tue Aug 23 03:49:29 2011 +0200 @@ -0,0 +1,13 @@ +#!/usr/bin/env python + +import logging +#from backend.sqlalchemy.SqlAlchemyBackend import SqlAlchemyBackend +from backend.couchdb.CouchDbBackend import CouchDbBackend + +if __name__ == "__main__": + logging.basicConfig(level=logging.DEBUG) +# backend = SqlAlchemyBackend() + backend = CouchDbBackend() + backend.updateAllFeeds() + backend.expireFeedEntries() + backend.dispose()