annotate feedupdate.sh @ 192:9d422fa90096

optimize marking feed entries as read: do not round trip to the database if the entry was already marked as read
author dirk
date Wed, 21 Sep 2011 13:23:25 +0200
parents 5b131f82057d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
65
e24777e346e7 add a runner script for Xanthippe
dirk@xanthippe.ping.de
parents:
diff changeset
1 #!/bin/bash
e24777e346e7 add a runner script for Xanthippe
dirk@xanthippe.ping.de
parents:
diff changeset
2 DB_URL="mysql://root:mysql@xanthippe/feedworm?use_unicode=1&charset=utf8"
e24777e346e7 add a runner script for Xanthippe
dirk@xanthippe.ping.de
parents:
diff changeset
3
137
5b131f82057d allow choosing the backend via commandline option
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 134
diff changeset
4 ./feedupdate.py --backend sqlalchemy --dburl ${DB_URL}