view feedupdate.py @ 178:e8cc86981938

default DB name is feedworm, fix setting the dbname via commandline parameter
author dirk
date Sat, 10 Sep 2011 04:26:13 +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()